ImportStateHistory class

This class represents the state history of an imported editor session.

Constructors

ImportStateHistory.fromJson(String json, {ImportEditorConfigs configs = const ImportEditorConfigs()})
Creates an ImportStateHistory instance from a JSON string.
factory
ImportStateHistory.fromJsonFile(File file, {ImportEditorConfigs configs = const ImportEditorConfigs()})
Creates an ImportStateHistory instance from a JSON file.
factory
ImportStateHistory.fromMap(Map map, {ImportEditorConfigs configs = const ImportEditorConfigs()})
Creates an ImportStateHistory instance from a map representation.
factory

Properties

configs ImportEditorConfigs
The configurations for importing the editor state history.
final
editorPosition int
The position of the editor.
final
hashCode int
The hash code for this object.
no setterinherited
imgSize Size
The size of the imported image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateHistory List<EditorStateHistory>
The state history of each editor state in the session.
final
version String
Version from import/export history for backward compatibility.
final

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