ConstructorDeclarationNode class

A constructor declaration.

Inheritance

Constructors

ConstructorDeclarationNode({required String name, String? constructorName, List<ParameterNode> parameters = const [], List<ConstructorInitializerNode> initializers = const [], FunctionBodyNode? body, bool isConst = false, bool isFactory = false, bool isExternal = false, String? redirectedConstructor})
const

Properties

body → FunctionBodyNode?
final
constructorName → String?
final
hashCode → int
The hash code for this object.
no setterinherited
initializers → List<ConstructorInitializerNode>
final
isConst → bool
final
isExternal → bool
final
isFactory → bool
final
name → String
final
parameters → List<ParameterNode>
final
redirectedConstructor → String?
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited