ExportStateHistory class
Class responsible for exporting the state history of the editor.
This class allows you to export the state history of the editor, including layers, filters, stickers, and other configurations.
Constructors
-
ExportStateHistory(List<
EditorStateHistory> stateHistory, List<EditorImage> _imgStateHistory, Size _imgSize, int _editorPosition, {ExportEditorConfigs configs = const ExportEditorConfigs()}) - Constructs an ExportStateHistory object with the given parameters.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stateHistory
→ List<
EditorStateHistory> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFile(
{String? path}) → Future< File> - Converts the state history to a JSON file.
-
toJson(
) → Future< String> - Converts the state history to a JSON string.
-
toMap(
) → Future< Map> - Converts the state history to a Map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited