PaginatedStreamController<R, T> constructor
PaginatedStreamController<R, T> ({})
Implementation
PaginatedStreamController({
required Stream<R> Function() streamFactory,
required List<T> Function(R response) extract,
int maxPages = 20,
}) : _streamFactory = streamFactory,
_extract = extract,
_maxPages = maxPages;