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