LazxObserver<T> class

LazxObserver represent an observer to your data (made to be used in your repo or data provider for a LazxManager manager).

T represent the type of your data.

This class is similar to LazxData without the state handled.

Constructors

LazxObserver({T? initialValue})
You can create LazxObserver with a default value.

Properties

hashCode int
The hash code for this object.
no setterinherited
observer Stream<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
A getter to access your data value
no setter

Methods

dispose() → void
Close the observer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(T newValue) → void
Set a new value
toString() String
A string representation of this object.
inherited

Operators

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