addReplacement abstract method
Add a replacement of text specified by the given range
. The range
is
relative to the original source. The buildEdit
function is used to write
the text that will replace the specified region.
Implementation
@override
void addReplacement(
SourceRange range, void Function(YamlEditBuilder builder) buildEdit);