TextEditorEdit constructor

TextEditorEdit({
  1. void replace(
    1. Object,
    2. String
    )?,
  2. void insert(
    1. Position,
    2. String
    )?,
  3. void delete(
    1. Object
    )?,
  4. void setEndOfLine(
    1. EndOfLine
    )?,
})

Implementation

factory TextEditorEdit({
  void Function(
    _i2.Object,
    _i2.String,
  )? replace,
  void Function(
    _i3.Position,
    _i2.String,
  )? insert,
  void Function(_i2.Object)? delete,
  void Function(_i3.EndOfLine)? setEndOfLine,
}) =>
    TextEditorEdit._(
      replace: replace == null ? null : _i5.allowInterop(replace),
      insert: insert == null ? null : _i5.allowInterop(insert),
      delete: delete == null ? null : _i5.allowInterop(delete),
      setEndOfLine:
          setEndOfLine == null ? null : _i5.allowInterop(setEndOfLine),
    );