Map<Symbol, DeclarationMirror> declarations

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.

Source

Map<Symbol, DeclarationMirror> get declarations;