LibraryMirror findLibrary(Symbol libraryName)

Returns the unique library named libraryName if it exists.

If no unique library exists, an error is thrown.

Source

external LibraryMirror findLibrary(Symbol libraryName);