PreferencesSnapshot class

Values and declared types from one storage read. Explicit types retain the distinction between integer and double values on JavaScript runtimes.

Implementers

Constructors

PreferencesSnapshot(Map<String, Object> values, Map<String, String> types)
Creates a snapshot with explicit type names.
PreferencesSnapshot.fromValues(Map<String, Object?> source)
Infers types on platforms that preserve them in their runtime values.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
types → Map<String, String>
Type name per key: string, int, double, bool or list.
final
values → Map<String, Object>
Detached values.
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