AugmentedInstanceElement class abstract
The result of applying augmentations to a InstanceElement.
Clients may not extend, implement or mix-in this class.
- Implementers
Constructors
Properties
-
accessors
→ List<
PropertyAccessorElement> -
The accessors (getters and setters) declared in this element.
no setter
- declaration → InstanceElement
-
The declaration (not augmentation) that owns this result.
no setter
-
fields
→ List<
FieldElement> -
The fields declared in this element.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ List<
ElementAnnotation> -
The metadata associated with this element.
no setter
-
methods
→ List<
MethodElement> -
The methods declared in this element.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thisType → DartType
-
The type of
this
expression.no setter
Methods
-
getField(
String name) → FieldElement? -
Returns the field from fields that has the given
name
. -
getGetter(
String name) → PropertyAccessorElement? -
Returns the getter from accessors that has the given
name
. -
getMethod(
String name) → MethodElement? -
Returns the method from methods that has the given
name
. -
getSetter(
String name) → PropertyAccessorElement? -
Returns the setter from accessors that has the given
name
. -
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. -
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. -
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. -
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