copyWith method
Implementation
PaginationLoaded<T> copyWith({
List<T>? items,
bool? hasReachedEnd,
}) {
return PaginationLoaded<T>(
items: items ?? this.items,
hasReachedEnd: hasReachedEnd ?? this.hasReachedEnd,
);
}
PaginationLoaded<T> copyWith({
List<T>? items,
bool? hasReachedEnd,
}) {
return PaginationLoaded<T>(
items: items ?? this.items,
hasReachedEnd: hasReachedEnd ?? this.hasReachedEnd,
);
}