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

Constructors

MergedStreamPaginationProvider(List<Stream<List<T>>> streamsProvider(PaginationRequest request))

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<List<T>>> Function(PaginationRequest request)
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