/Dart 2

declarations property

Map<Symbol, DeclarationMirror> declarations

Returns an immutable map of the declarations actually given in the class declaration.

This map includes all regular methods, getters, setters, fields, constructors and type variables actually declared in the class. Both static and instance members are included, but no inherited members are included. The map is keyed by the simple names of the declarations.

This does not include inherited members.


Map<Symbol, DeclarationMirror> get declarations;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.