superclassConstraints property
List<InterfaceType>
get
superclassConstraints
Returns the superclass constraints defined for this mixin. If the
declaration does not have an on
clause, then the list will contain
the type for the class Object
.
Note: Because the element model represents the state of the code, it is possible for it to be semantically invalid. In particular, it is not safe to assume that the inheritance structure of a class does not contain a cycle. Clients that traverse the inheritance structure must explicitly guard against infinite loops.
Implementation
List<InterfaceType> get superclassConstraints;