ExtensionTypeDeclarationNode class
An extension type declaration (extension type Foo(int i) { ... }).
- Inheritance
-
- Object
- DartNode
- DeclarationNode
- ExtensionTypeDeclarationNode
Constructors
-
ExtensionTypeDeclarationNode({required String name, String? constructorName, bool isConst = false, List<
TypeParameterNode> typeParameters = const [], required TypeNode representationType, required String representationName, List<TypeNode> interfaces = const [], List<DeclarationNode> members = const []}) -
const
Properties
- constructorName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interfaces
→ List<
TypeNode> -
final
- isConst → bool
-
final
-
members
→ List<
DeclarationNode> -
final
- name → String
-
final
- representationName → String
-
final
- representationType → TypeNode
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
typeParameters
→ List<
TypeParameterNode> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited