NotebookDocument constructor
NotebookDocument({})
Implementation
factory NotebookDocument({
_i3.Uri? uri,
_i2.String? notebookType,
_i2.num? version,
_i2.bool? isDirty,
_i2.bool? isUntitled,
_i2.bool? isClosed,
_i2.Object? metadata,
_i2.num? cellCount,
_i3.NotebookCell Function(_i2.num)? cellAt,
_i2.List<_i3.NotebookCell> Function([_i3.NotebookRange?])? getCells,
_i2.Future<_i2.dynamic> Function()? save,
}) =>
NotebookDocument._(
uri: uri ?? _i6.undefined,
notebookType: notebookType,
version: version,
isDirty: isDirty,
isUntitled: isUntitled,
isClosed: isClosed,
metadata: metadata ?? _i6.undefined,
cellCount: cellCount,
cellAt: cellAt == null ? null : _i5.allowInterop(cellAt),
getCells: getCells == null ? null : _i5.allowInterop(getCells),
save: save == null ? null : _i5.allowInterop(save),
);