withGetterSetterPair method Null safety
- Declaration getter,
- Declaration setter,
- {List<
Code> ? supportingDeclarations}
Implement this as a getter/setter pair, with an optional new backing field.
Implementation
void withGetterSetterPair(Declaration getter, Declaration setter,
{List<Code>? supportingDeclarations});