W3cubDocs

/Dart 2

instanceMembers property

Map<Symbol, MethodMirror> instanceMembers

Returns a map of the methods, getters and setters of an instance of the class.

The intent is to capture those members that constitute the API of an instance. Hence fields are not included, but the getters and setters implicitly introduced by fields are included. The map includes methods, getters and setters that are inherited as well as those introduced by the class itself.

The map is keyed by the simple names of the members.

Implementation

Map<Symbol, MethodMirror> get instanceMembers;

© 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/ClassMirror/instanceMembers.html