NotebookEdit class

A notebook edit represents edits that should be applied to the contents of a notebook.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

NotebookEdit(NotebookRange range, List<NotebookCellData> newCells)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
newCellMetadata Object

Available on NotebookEdit, provided by the NotebookEdit$Typings extension

Optional new metadata for the cells.
getter/setter pair
newCells List<NotebookCellData>

Available on NotebookEdit, provided by the NotebookEdit$Typings extension

New cells being inserted. May be empty.
getter/setter pair
newNotebookMetadata Object

Available on NotebookEdit, provided by the NotebookEdit$Typings extension

Optional new metadata for the notebook.
getter/setter pair
range NotebookRange

Available on NotebookEdit, provided by the NotebookEdit$Typings extension

Range of the cells being edited. May be empty.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

deleteCells(NotebookRange range) NotebookEdit
Utility to create an edit that deletes cells in a notebook.
insertCells(num index, List<NotebookCellData> newCells) NotebookEdit
Utility to create an edit that replaces cells in a notebook.
replaceCells(NotebookRange range, List<NotebookCellData> newCells) NotebookEdit
Utility to create a edit that replaces cells in a notebook.
updateCellMetadata(num index, Object newCellMetadata) NotebookEdit
Utility to create an edit that update a cell's metadata.
updateNotebookMetadata(Object newNotebookMetadata) NotebookEdit
Utility to create an edit that updates the notebook's metadata.