LiveDataSource<T> class
- Inheritance
- Available extensions
- Annotations
Constructors
-
LiveDataSource(T initValue, {String? name, bool verifyDataChange = false, StreamController<
T> ? streamController, LifeCycleOwner? owner, Logger? logger, DataSourceInterface? dataSourceInterface})
Properties
-
apples
↔ List<
void Function(LiveData< T> liveData)> -
getter/setter pairinherited
- attachedItems ↔ Map
-
getter/setter pairinherited
- dataSourceInterface ← DataSourceInterface
-
no getter
- 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
-
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
-
setValueAsync(
T value) → dynamic -
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