Future<LibraryMirror> loadLibrary( )

Returns a future that completes with a library mirror on the library being imported or exported when it is loaded, and initiates a load of that library if it is not loaded.

Source

/// Returns a future that completes with a library mirror on the library being
/// imported or exported when it is loaded, and initiates a load of that
/// library if it is not loaded.
Future<LibraryMirror> loadLibrary();