insert static method

TextEdit insert(
  1. Position position,
  2. String newText
)

Utility to create an insert edit.

Implementation

static _i3.TextEdit insert(
  _i3.Position position,
  _i2.String newText,
) =>
    _i5.callMethod(
      _declaredTextEdit,
      'insert',
      [
        position,
        newText,
      ],
    );