DartFunction.main constructor
DartFunction.main(
- CodeNode body, {
- List<
DocComment> docComments = const [], - List<
Annotation> annotations = const [], - Parameters? parameters,
- Asynchrony? asynchrony,
Implementation
DartFunction.main(
CodeNode body, {
this.docComments = const [],
this.annotations = const [],
this.parameters,
this.asynchrony,
}) : returnType = null,
name = IdentifierStartingWithLowerCase('main'),
body = Body([body]);