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