Method.static constructor
Method.static(
- String name,
- CodeNode body, {
- List<
DocComment> docComments = const [], - List<
Annotation> annotations = const [], - Type? type,
- Parameters? parameters,
- Asynchrony? asynchrony,
Implementation
Method.static(
String name,
CodeNode body, {
this.docComments = const [],
this.annotations = const [],
this.type,
this.parameters,
this.asynchrony,
}) : abstract = false,
static = true,
final$ = false,
name = IdentifierStartingWithLowerCase(name),
propertyAccessor = null,
body = Body([body]);