TypeHierarchyItem class
A representation of a class in a type hierarchy.
Constructors
Properties
- classElement → Element
-
The class element represented by this item.
final
- displayName → String?
-
The name to be displayed for the class. This field will be omitted if the
display name is the same as the name of the element. The display name is
different if there is additional type information to be displayed, such as
type arguments.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interfaces
→ List<
int> -
The indexes of the items representing the interfaces implemented by this
class. The list will be empty if there are no implemented interfaces.
final
- memberElement → Element?
-
The member in the class corresponding to the member on which the hierarchy
was requested. This field will be omitted if the hierarchy was not
requested for a member or if the class does not have a corresponding
member.
final
-
mixins
→ List<
int> -
The indexes of the items representing the mixins referenced by this class.
The list will be empty if there are no classes mixed in to this class.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subclasses
→ List<
int> -
The indexes of the items representing the subtypes of this class. The list
will be empty if there are no subtypes or if this item represents a
supertype of the pivot type.
final
- superclass → int?
-
The index of the item representing the superclass of this class. This
field will be omitted if this item represents the class Object.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Map m) → TypeHierarchyItem