NotebookCellExecution constructor

NotebookCellExecution({
  1. NotebookCell? cell,
  2. CancellationToken? token,
  3. num? executionOrder,
  4. void start([
    1. num?
    ])?,
  5. void end([
    1. bool?,
    2. num?
    ])?,
  6. Future clearOutput([
    1. NotebookCell?
    ])?,
  7. Future replaceOutput(
    1. Object, [
    2. NotebookCell?
    ])?,
  8. Future appendOutput(
    1. Object, [
    2. NotebookCell?
    ])?,
  9. Future replaceOutputItems(
    1. Object,
    2. NotebookCellOutput
    )?,
  10. Future appendOutputItems(
    1. Object,
    2. NotebookCellOutput
    )?,
})

Implementation

factory NotebookCellExecution({
  _i3.NotebookCell? cell,
  _i3.CancellationToken? token,
  _i2.num? executionOrder,
  void Function([_i2.num?])? start,
  void Function([
    _i2.bool?,
    _i2.num?,
  ])? end,
  _i2.Future<_i2.dynamic> Function([_i3.NotebookCell?])? clearOutput,
  _i2.Future<_i2.dynamic> Function(
    _i2.Object, [
    _i3.NotebookCell?,
  ])? replaceOutput,
  _i2.Future<_i2.dynamic> Function(
    _i2.Object, [
    _i3.NotebookCell?,
  ])? appendOutput,
  _i2.Future<_i2.dynamic> Function(
    _i2.Object,
    _i3.NotebookCellOutput,
  )? replaceOutputItems,
  _i2.Future<_i2.dynamic> Function(
    _i2.Object,
    _i3.NotebookCellOutput,
  )? appendOutputItems,
}) =>
    NotebookCellExecution._(
      cell: cell ?? _i6.undefined,
      token: token ?? _i6.undefined,
      executionOrder: executionOrder ?? _i6.undefined,
      start: start == null ? null : _i5.allowInterop(start),
      end: end == null ? null : _i5.allowInterop(end),
      clearOutput: clearOutput == null ? null : _i5.allowInterop(clearOutput),
      replaceOutput:
          replaceOutput == null ? null : _i5.allowInterop(replaceOutput),
      appendOutput:
          appendOutput == null ? null : _i5.allowInterop(appendOutput),
      replaceOutputItems: replaceOutputItems == null
          ? null
          : _i5.allowInterop(replaceOutputItems),
      appendOutputItems: appendOutputItems == null
          ? null
          : _i5.allowInterop(appendOutputItems),
    );