MergedStreamPaginationProvider<T> class
final
Merged streams pagination provider that combines multiple streams into one.
This provider takes multiple data streams and merges them into a single stream, emitting data whenever any of the source streams emit.
- Inheritance
-
- Object
- PaginationProvider<
T> - MergedStreamPaginationProvider
Constructors
-
MergedStreamPaginationProvider(List<
Stream< streamsProvider(PaginationRequest request))List< >T> >
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streamsProvider
→ List<
Stream< Function(PaginationRequest request)List< >T> > -
Function that provides a list of streams to be merged.
final
Methods
-
getMergedStream(
PaginationRequest request) → Stream< List< T> > - Gets a merged stream that combines all source streams.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited