NotebookCellOutputItem class
One representation of a {@link NotebookCellOutputnotebook output}, defined by MIME type and data.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- NotebookCellOutputItem(Uint8List data, String mime)
-
factory
Properties
- data ↔ Uint8List
-
Available on NotebookCellOutputItem, provided by the NotebookCellOutputItem$Typings extension
The data of this output item. Must always be an array of unsigned 8-bit integers.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- mime ↔ String
-
Available on NotebookCellOutputItem, provided by the NotebookCellOutputItem$Typings extension
The mime type which determines how the {@linkcode NotebookCellOutputItem.data data}-property is interpreted.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
-
error(
Error value) → NotebookCellOutputItem -
Factory function to create a
NotebookCellOutputItem
that uses uses theapplication/vnd.code.notebook.error
mime type. -
json(
[dynamic value, String? mime]) → NotebookCellOutputItem -
Factory function to create a
NotebookCellOutputItem
from a JSON object. -
stderr(
String value) → NotebookCellOutputItem -
Factory function to create a
NotebookCellOutputItem
that uses uses theapplication/vnd.code.notebook.stderr
mime type. -
stdout(
String value) → NotebookCellOutputItem -
Factory function to create a
NotebookCellOutputItem
that uses uses theapplication/vnd.code.notebook.stdout
mime type. -
text(
String value, [String? mime]) → NotebookCellOutputItem -
Factory function to create a
NotebookCellOutputItem
from a string.