LiveSource<T> class
- Inheritance
- Available extensions
Constructors
-
LiveSource(T initValue, {String? name, bool verifyDataChange = false, StreamController<
T> ? streamController, LifeCycleOwner? owner, Logger? logger, required LiveDataSourceAdapter<T> adapter})
Properties
-
adapter
↔ LiveDataSourceAdapter<
T> -
getter/setter pair
-
apples
↔ List<
void Function(LiveData< T> liveData)> -
getter/setter pairinherited
- attachedItems ↔ Map
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialValue → T
-
finalinherited
-
just
→ _Just<
T> -
no setterinherited
- lifeCycleObserver → LifeCycleOwner?
-
no setterinherited
- logger ↔ Logger
-
getter/setter pairinherited
- name → String?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
T> ? -
no setterinherited
-
streamController
↔ StreamController<
T> -
getter/setter pairinherited
- value ↔ T
-
getter/setter pairinherited-getteroverride-setter
- verifyDataChange → bool
-
finalinherited
Methods
-
apply(
void apply(LiveData< T> liveData)) → LiveData<T> -
inherited
-
applyOnce(
void apply(LiveData< T> liveData)) → LiveData<T> -
inherited
-
asyncInit(
{required Future< T> loadData()}) → Future<LiveSource< T> > -
asyncValue(
T value) → Future< T> -
close(
) → void -
inherited
-
detachBy(
C detacher(LiveData< P> lv)) → LiveData<C> ? -
Available on LiveData<
P> , provided by the DetachLiveData extension -
listen(
void onData(T value), {void onDone()?, Function? onError, bool? cancelOnError}) → StreamSubscription< T> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
owner(
LifeCycleOwner lifeCycleOwner) → LiveData< T> -
inherited
-
patch(
void setter(T)) → LiveData< T> -
inherited
-
then<
T> (C runner(LiveData< P> value)) → C -
Available on LiveData<
P> , provided by the DetachLiveData extension -
tick(
{bool? verifyDataChange}) → LiveData< T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
T setter(T)) → LiveData< T> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited