TextDocumentChangeEvent constructor

TextDocumentChangeEvent({
  1. TextDocument? document,
  2. List<TextDocumentContentChangeEvent>? contentChanges,
  3. TextDocumentChangeReason? reason,
})

Implementation

factory TextDocumentChangeEvent({
  _i3.TextDocument? document,
  _i2.List<_i3.TextDocumentContentChangeEvent>? contentChanges,
  _i3.TextDocumentChangeReason? reason,
}) =>
    TextDocumentChangeEvent._(
      document: document ?? _i6.undefined,
      contentChanges: contentChanges ?? _i6.undefined,
      reason: reason?.name ?? _i6.undefined,
    );