NotebookDocumentWillSaveEvent constructor

NotebookDocumentWillSaveEvent({
  1. CancellationToken? token,
  2. NotebookDocument? notebook,
  3. TextDocumentSaveReason? reason,
})

Implementation

factory NotebookDocumentWillSaveEvent({
  _i3.CancellationToken? token,
  _i3.NotebookDocument? notebook,
  _i3.TextDocumentSaveReason? reason,
}) =>
    NotebookDocumentWillSaveEvent._(
      token: token ?? _i6.undefined,
      notebook: notebook ?? _i6.undefined,
      reason: reason?.name,
    );