insert method
Insert the given text at the given position.
@param uri A resource identifier. @param position A position. @param newText A string. @param metadata Optional metadata for the entry.
Implementation
void insert(
_i3.Uri uri,
_i3.Position position,
_i2.String newText, [
_i3.WorkspaceEditEntryMetadata? metadata,
]) {
_i5.callMethod(
this,
'insert',
[
uri,
position,
newText,
metadata ?? _i6.undefined,
],
);
}