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
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.