StorageValue class
Represents a value stored in State.
- Inheritance
-
- Object
- JSONObject
- StorageValue
Constructors
- StorageValue(Object? value)
- StorageValue.stored(int storeTime, Object? value)
Properties
Methods
-
getObjectFields(
) → List< String> - Returns the names of the fields of this class.
-
getObjectFieldsDefault(
) → List< String> -
Default implementation of getObjectFields.
inherited
-
getObjectValues(
) → List -
Returns the values of the fields of this instance,
in the same order of fields from getObjectFields.
inherited
-
initializeFromJson(
String json) → void -
Initializes this instance from a JSON String.
inherited
-
initializeFromMap(
Map? jsonMap) → void -
Initializes this instance from a Map.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setObjectValues(
List values) → void -
Sets this instances fields with
values
, in the same order of fields from getObjectFields.inherited -
toJson(
) → String -
Converts
this
instance to a JSON String.inherited -
toMap(
) → Map< String, dynamic> -
Converts
this
instance to a Map<String,dynamic>, containing the current fields values.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited