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