NotebookSerializer constructor
Implementation
factory NotebookSerializer({
_i2.Object Function(
_i8.Uint8List,
_i3.CancellationToken,
)? deserializeNotebook,
_i4.FutureOr<_i8.Uint8List> Function(
_i3.NotebookData,
_i3.CancellationToken,
)? serializeNotebook,
}) =>
NotebookSerializer._(
deserializeNotebook: deserializeNotebook == null
? null
: _i5.allowInterop(deserializeNotebook),
serializeNotebook: serializeNotebook == null
? null
: _i5.allowInterop((
p0,
p1,
) =>
_i6.Promise.futureOr(() => serializeNotebook(
p0,
p1,
))),
);