AugmentedExtensionTypeElement class abstract
The result of applying augmentations to an ExtensionTypeElement.
Clients may not extend, implement or mix-in this class.
- Implemented types
Constructors
Properties
-
accessors
→ List<
PropertyAccessorElement> -
The accessors (getters and setters) declared in this element.
no setterinherited
-
constructors
→ List<
ConstructorElement> -
The constructors declared in this element.
no setterinherited
- declaration → ExtensionTypeElement
-
The declaration (not augmentation) that owns this result.
no setteroverride
-
fields
→ List<
FieldElement> -
The fields declared in this element.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interfaces
→ List<
InterfaceType> -
The interfaces implemented by this element.
no setterinherited
-
metadata
→ List<
ElementAnnotation> -
The metadata associated with this element.
no setterinherited
-
methods
→ List<
MethodElement> -
The methods declared in this element.
no setterinherited
-
mixins
→ List<
InterfaceType> -
The mixins applied by this class or in its augmentations.
no setterinherited
- primaryConstructor → ConstructorElement
-
The primary constructor of this extension.
no setter
- representation → FieldElement
-
The representation of this extension.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thisType → InterfaceType
-
The type of
this
expression.no setterinherited - typeErasure → DartType
-
The extension type erasure, obtained by recursively replacing every
subterm which is an extension type by the corresponding representation
type.
no setter
- unnamedConstructor → ConstructorElement?
-
The unnamed constructor from constructors.
no setterinherited
Methods
-
getField(
String name) → FieldElement? -
Returns the field from fields that has the given
name
.inherited -
getGetter(
String name) → PropertyAccessorElement? -
Returns the getter from accessors that has the given
name
.inherited -
getMethod(
String name) → MethodElement? -
Returns the method from methods that has the given
name
.inherited -
getNamedConstructor(
String name) → ConstructorElement? -
Returns the constructor from constructors that has the given
name
.inherited -
getSetter(
String name) → PropertyAccessorElement? -
Returns the setter from accessors that has the given
name
.inherited -
lookUpGetter(
{required String name, required LibraryElement library}) → PropertyAccessorElement? -
Returns the element representing the getter that results from looking up
the given
name
in this class with respect to the givenlibrary
, ornull
if the look up fails.inherited -
lookUpMethod(
{required String name, required LibraryElement library}) → MethodElement? -
Returns the element representing the method that results from looking up
the given
name
in this class with respect to the givenlibrary
, ornull
if the look up fails.inherited -
lookUpSetter(
{required String name, required LibraryElement library}) → PropertyAccessorElement? -
Returns the element representing the setter that results from looking up
the given
name
in this class with respect to the givenlibrary
, ornull
if the look up fails.inherited -
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