ResolvedPreference class

A preference's resolved value and the source that produced it.

Constructors

ResolvedPreference({required PrefKey key, required Object value, required PrefSource source})
const

Properties

defaultValue → Object
The key's declared default value.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isForced → bool
Whether the value is forced by Remote Config and cannot be overridden.
no setter
key → PrefKey
final
name → String
The preference's storage/Remote Config key name.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → PrefSource
final
type → PrefType
The value type of the preference.
no setter
value → Object
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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