EditorResult constructor
EditorResult({})
Creates a new EditorResult from the
given properties.
The scene
is a string representation of the exported
scene which can be used to load into the editor again.
The artifact
represents the exported file which can be
an image, a video or a document (e.g. PDF) depending on the UI.
The thumbnail
is a preview of the artifact.
In case the scene contains multiple pages, the thumbnail always
represents a preview of the first page and for videos of the first
frame (if not modified natively).
The metadata
can be used to process any Map<String, dynamic>
and is
an empty map per default.
Implementation
EditorResult(
{this.scene, this.artifact, this.thumbnail, this.metadata = const {}});