FunctionDeclarationNode constructor
const
FunctionDeclarationNode({
- required String name,
- TypeNode? returnType,
- List<
TypeParameterNode> typeParameters = const [], - List<
ParameterNode> parameters = const [], - FunctionBodyNode? body,
- bool isStatic = false,
- bool isAbstract = false,
- bool isExternal = false,
- bool isGetter = false,
- bool isSetter = false,
- bool isOperator = false,
Implementation
const new({
required this.name,
this.returnType,
this.typeParameters = const [],
this.parameters = const [],
this.body,
this.isStatic = false,
this.isAbstract = false,
this.isExternal = false,
this.isGetter = false,
this.isSetter = false,
this.isOperator = false,
});