copyWith method
      
PaginatedState<T, Q> 
copyWith({ 
    
    
- int? page,
 - int? pageSize,
 - PaginatedStateType? type,
 - bool? hasNoMoreItems,
 - List<
T> ? items, - Object? error,
 - StackTrace? stackTrace,
 - Q? query,
 
Implementation
PaginatedState<T, Q> copyWith({
  int? page,
  int? pageSize,
  PaginatedStateType? type,
  bool? hasNoMoreItems,
  List<T>? items,
  Object? error,
  StackTrace? stackTrace,
  Q? query,
}) {
  return PaginatedState<T, Q>(
    page: page ?? this.page,
    pageSize: pageSize ?? this.pageSize,
    type: type ?? this.type,
    hasNoMoreItems: hasNoMoreItems ?? this.hasNoMoreItems,
    items: items ?? this.items,
    error: error ?? this.error,
    stackTrace: stackTrace ?? this.stackTrace,
    query: query ?? this.query,
  );
}