NotebookEditInput class

Parsed input for NotebookEdit operations.

Constructors

NotebookEditInput({required String notebookPath, required String command, required int cellIndex, String? cellType, String? source, int? newIndex})
const
NotebookEditInput.fromMap(Map<String, dynamic> map)
factory

Properties

cellIndex int
Zero-based index of the target cell.
final
cellType String?
Cell type: code, markdown, or raw.
final
command String
One of: add, edit, delete, move.
final
hashCode int
The hash code for this object.
no setterinherited
newIndex int?
Destination index for move operations.
final
notebookPath String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
New source content for add/edit.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate() List<String>
Validate this input, returning a list of error messages (empty = valid).

Operators

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