NoDevicePreviewStorage class

A storage that keep preferences only in memory : they are reset on each fresh start of the app.

Inheritance

Constructors

NoDevicePreviewStorage()
const

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

load() Future<DevicePreviewData?>
Load data from the storage that has been saved previously with the save method.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(DevicePreviewData data) Future<void>
Save the given data to the storage so that it can be loaded later with the load method.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited