RemoteConfigValue class Null safety

Wraps a value with metadata and type-safe getters.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
jsObject → ValueJsImpl
JS object.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

asBoolean() bool
Gets the value as a boolean. The following values (case insensitive) are interpreted as true: "1", "true", "t", "yes", "y", "on". Other values are interpreted as false.
asNumber() num
Gets the value as a number. Returns 0 if the value is not a number.
asString() String
Gets the value as a string.
getSource() RemoteConfigValueSource
Returns the source of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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