declarations property Null safety
Returns an immutable map of the declarations actually given in the library.
This map includes all regular methods, getters, setters, fields, classes and typedefs actually declared in the library. The map is keyed by the simple names of the declarations.
Implementation
Map<Symbol, DeclarationMirror> get declarations;