ValueStorage<T> class

Inheritance

Constructors

ValueStorage(T value)

Properties

changes Map<String, dynamic>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
listeners int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → T?
no setterinherited
status RxStatus
no setterinherited
value ↔ T?
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
getter/setter pairinherited

Methods

addListener(GetStateUpdate listener) Disposer
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId(Object? key, GetStateUpdate listener) Disposer
inherited
append(Future<T> Function() body(), {String? errorMessage}) → void
inherited
call([T? v]) → T?
inherited
change(T? newState, {RxStatus? status}) → void
inherited
changeValue(String key, dynamic value) → void
dispose() → void
inherited
disposeId(Object id) → void
To dispose an id from future updates(), this ids are registered by GetBuilder() or similar, so is a way to unlink the state change with the Widget from the Controller.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChildrens() → void
inherited
refresh() → void
inherited
refreshGroup(Object id) → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeListenerId(Object id, VoidCallback listener) → void
inherited
toJson() → dynamic
inherited
toString() String
A string representation of this object.
inherited
update(void fn(T? value)) → void
inherited

Operators

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