Value<T> class Null safety

Inheritance
Implemented types
Mixed in types
Implementers
Available Extensions

Constructors

Value(T val)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
hasListeners bool
read-only, inherited
listeners int
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state → T?
read-only, inherited
status RxStatus
read-only, inherited
value ↔ T?
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
read / write, override

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?
change(T? newState, {RxStatus? status}) → void
@protected, inherited
dispose() → void
@mustCallSuper, 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 non-existent method or property is accessed. [...]
inherited
notifyChildrens() → void
@protected, inherited
refresh() → void
@protected, inherited
refreshGroup(Object id) → void
@protected, 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
toString() String
A string representation of this object. [...]
override
update(void fn(T? value)) → void

Operators

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