copyWith method
Implementation
PaginatedViewState<T, V> copyWith({
List<PageChunk<T>>? items,
V? currentOffset,
}) {
return PaginatedViewState<T, V>(
items ?? this._pages,
nextOffset: currentOffset,
);
}
PaginatedViewState<T, V> copyWith({
List<PageChunk<T>>? items,
V? currentOffset,
}) {
return PaginatedViewState<T, V>(
items ?? this._pages,
nextOffset: currentOffset,
);
}