showNotebookDocument method

Future showNotebookDocument(
  1. NotebookDocument document, [
  2. NotebookDocumentShowOptions? options
])

Show the given {@link NotebookDocument} in a {@link NotebookEditornotebook editor}.

Implementation

_i2.Future<_i2.dynamic> showNotebookDocument(
  _i4.NotebookDocument document, [
  _i4.NotebookDocumentShowOptions? options,
]) =>
    _i3.promiseToFuture(_i3.callMethod(
      this,
      'showNotebookDocument',
      [
        document,
        options ?? _i5.undefined,
      ],
    ));