register method
Registers library with this runtime.
Registration does not expose the library immediately. Call one of the initialization methods to populate globals or library tables.
Implementation
void register(Library library) {
_libraries.add(library);
if (library.name.isNotEmpty) {
_librariesByName[library.name] = library;
}
}