NotebookSerializer class

The notebook serializer enables the editor to open notebook files.

At its core the editor only knows a {@link NotebookDatanotebook data structure} but not how that data structure is written to a file, nor how it is read from a file. The notebook serializer bridges this gap by deserializing bytes into notebook data and vice versa.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

NotebookSerializer({Object deserializeNotebook(Uint8List, CancellationToken)?, FutureOr<Uint8List> serializeNotebook(NotebookData, CancellationToken)?})
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