inheritedConcreteMembers property
Map<Name, ExecutableElement2>
get
inheritedConcreteMembers
Returns a map of all concrete members that this type inherits from superclasses and mixins, keyed by the member's Name.
Members declared in this type have no effect on the map. This means that:
- If this type contains a member named
foo
, but none of its superclasses or mixins contains a member namedfoo
, then there will be no entry forfoo
in the map. - If this type contains a member named
foo
, and one of its superclasses or mixins contains a member namedfoo
, then there will be an entry forfoo
in this map, pointing to the declaration inherited from the superclass or mixin.
This method is potentially expensive, since it needs to consider all possible inherited names. If you only need to look up a certain specific name (or names), use getInheritedConcreteMember instead.
Implementation
Map<Name, ExecutableElement2> get inheritedConcreteMembers;