W3cubDocs

/Dart 2

declarations property

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.

Implementation

Map<Symbol, DeclarationMirror> get declarations;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-mirrors/LibraryMirror/declarations.html