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