FileDevicePreviewStorage class
A storage that saves device preview user preferences into a single file as a json content.
- Inheritance
-
- Object
- DevicePreviewStorage
- FileDevicePreviewStorage
Constructors
- FileDevicePreviewStorage({required File file})
Properties
Methods
-
load(
) → Future< DevicePreviewData?> -
Load the last saved preferences.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
DevicePreviewData data) → Future< void> -
Save the current preferences.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited