StorageValue class

Represents a value stored in State.

Inheritance

Constructors

StorageValue(Object? value)
StorageValue.stored(int storeTime, Object? value)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storeTime int
Time of storage.
final
value Object?
The stored value.
getter/setter pair

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