insertGetter abstract method
void
insertGetter(
- CompilationUnitMember compilationUnitMember,
- void buildEdit(
- DartEditBuilder builder
Inserts the code for a getter.
The getter is inserted after the last existing field, constructor, or
getter, or at the beginning of compilationUnitMember
, if it has none of
these.
Implementation
void insertGetter(
CompilationUnitMember compilationUnitMember,
void Function(DartEditBuilder builder) buildEdit,
);