replace method
Replace the given range with given text for the given resource.
@param uri A resource identifier. @param range A range. @param newText A string. @param metadata Optional metadata for the entry.
Implementation
void replace(
_i3.Uri uri,
_i3.Range range,
_i2.String newText, [
_i3.WorkspaceEditEntryMetadata? metadata,
]) {
_i5.callMethod(
this,
'replace',
[
uri,
range,
newText,
metadata ?? _i6.undefined,
],
);
}