SharedPreferencesHudStorage class

Default PerformanceHudStorage, backed by shared_preferences.

Implemented types

Constructors

SharedPreferencesHudStorage()
Creates a storage that opens the platform store on load.

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<bool>
Opens the underlying store. Returning false means nothing can be read or written, and the controller keeps its defaults.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBool(String key) → bool?
Reads a stored boolean, or null when the key was never written.
override
readDouble(String key) → double?
Reads a stored double, or null when the key was never written.
override
remove(String key) → void
Removes a key.
override
toString() → String
A string representation of this object.
inherited
writeBool(String key, bool value) → void
Stores a boolean.
override
writeDouble(String key, double value) → void
Stores a double.
override

Operators

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