findLibraryByName method

Future<LibraryElement> findLibraryByName (String libraryName)

Returns the first library identified by libraryName.

If no library can be found, returns null.

NOTE: In general, its recommended to use libraryFor with an absolute asset id instead of a named identifier that has the possibility of not being unique.

Implementation

Future<LibraryElement> findLibraryByName(String libraryName);