libraries property
UnmodifiableMapView<LibraryName, WidgetLibrary>
libraries
The widget libraries imported in this Runtime.
The returned map is an immutable view of the map updated by calls to update and clearLibraries.
The keys are instances LibraryName
which encode fully qualified library
names, and the values are the corresponding WidgetLibrary
s.
The returned map is an immutable copy of the registered libraries at the time of this call.
See also:
- update and clearLibraries, functions that populate this map.
Implementation
UnmodifiableMapView<LibraryName, WidgetLibrary> get libraries {
return UnmodifiableMapView<LibraryName, WidgetLibrary>(Map<LibraryName, WidgetLibrary>.from(_libraries));
}