ConstructorElementRef class
A reference to a constructor in a class.
This class is used to represent references to constructors from other constructors, such as in redirecting constructors or super constructor calls. It contains the class type and constructor name information needed to identify the target constructor.
Constructors
- ConstructorElementRef.new(NamedDartType classType, String name)
- Creates a reference to a constructor in a class.
Properties
- classType → NamedDartType
-
The type of the class containing the referenced constructor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the referenced constructor.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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