NotebookCell constructor

NotebookCell({
  1. num? index,
  2. NotebookDocument? notebook,
  3. NotebookCellKind? kind,
  4. TextDocument? document,
  5. Object? metadata,
  6. List<NotebookCellOutput>? outputs,
  7. NotebookCellExecutionSummary? executionSummary,
})

Implementation

factory NotebookCell({
  _i2.num? index,
  _i3.NotebookDocument? notebook,
  _i3.NotebookCellKind? kind,
  _i3.TextDocument? document,
  _i2.Object? metadata,
  _i2.List<_i3.NotebookCellOutput>? outputs,
  _i3.NotebookCellExecutionSummary? executionSummary,
}) =>
    NotebookCell._(
      index: index,
      notebook: notebook ?? _i6.undefined,
      kind: kind?.name,
      document: document ?? _i6.undefined,
      metadata: metadata ?? _i6.undefined,
      outputs: outputs ?? _i6.undefined,
      executionSummary: executionSummary ?? _i6.undefined,
    );