SingleValueBase<T> class abstract

Mixed in types
  • Disposable
Implementers

Constructors

SingleValueBase(T value, [String? name])

Properties

context → ReactiveContext
Override this method to use a custom context.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
internalTracked TrackedValue<T>
getter/setter pair
isNull bool
Whether or not the underlying value is null
no setter
key Key?
no setter
log → Logger
final
name String?
A name - can be useful to generate a key based on tracking this value. Not required
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
no setter

Methods

disposeAll() Future
inherited
get() → T
modify(Mutator<T> mutator) FutureOr<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDisposer(Disposer callback) → void
inherited
registerStream(Stream? stream) → void
inherited
registerSubscription(StreamSubscription? subscription) → void
inherited
removeDisposer(FutureOr dispose()) → void
inherited
toString() String
A string representation of this object.
inherited
toValueNotifier({bool sync = false}) ValueNotifier<T>
Would love extension functions for this
update(T value, {bool force = false}) → void

Operators

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