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