TextDocumentWillSaveEvent constructor

TextDocumentWillSaveEvent({
  1. TextDocument? document,
  2. TextDocumentSaveReason? reason,
})

Implementation

factory TextDocumentWillSaveEvent({
  _i3.TextDocument? document,
  _i3.TextDocumentSaveReason? reason,
}) =>
    TextDocumentWillSaveEvent._(
      document: document ?? _i6.undefined,
      reason: reason?.name,
    );