TypedValue class

Represents a value with its type information for storage.

Used to store preferences in remote backends that require explicit type information (like storing everything as strings).

Constructors

TypedValue(String dataType, String value)

Properties

dataType → String
The data type: 'string', 'bool', 'int', or 'double'.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The string representation of the value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, String>
Converts to a map suitable for storage.
toString() → String
A string representation of this object.
inherited

Operators

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