ConstructorDeclarationNode constructor
const
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,
Implementation
const new({
required this.name,
this.constructorName,
this.parameters = const [],
this.initializers = const [],
this.body,
this.isConst = false,
this.isFactory = false,
this.isExternal = false,
this.redirectedConstructor,
});