instanceMembers property Null safety

Map<String, 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.

Required capabilities: instanceMembers requires a DeclarationsCapability.

Implementation

Map<String, MethodMirror> get instanceMembers;