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