FunctionDefNode constructor
const
FunctionDefNode({
- required String name,
- required ArgumentsNode args,
- required List<
StatementNode> body, - List<
ExpressionNode> decoratorList = const [], - ExpressionNode? returns,
- List<
TypeParamNode> typeParams = const [],
Implementation
const new({
required this.name,
required this.args,
required this.body,
this.decoratorList = const [],
this.returns,
this.typeParams = const [],
});