LceUseCase<DATA extends Object> class
abstract
Base LCE use-case with state and refresh
DATA
Data type of data being loaded
- Implementers
- Available extensions
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Stream<LceState<DATA>>
-
Model state. Subscription starts data load for the first subscriber.
Whenever last subscriber cancels, the model unsubscribes internal components for data updates
no setter
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh()
→ Future<void>
-
Requests a refresh of data.
Data will be updated asynchronously
-
toString()
→ String
-
A string representation of this object.
inherited