copyWith method
Implementation
PagingHelper copyWith({
bool? hasNext,
bool? loadNext,
String? nextUrl,
int? page,
int? totalPages,
WidgetCallback? error,
Widget? loader,
}) =>
PagingHelper(
hasNext: hasNext ?? this.hasNext,
loadNext: loadNext ?? this.loadNext,
nextUrl: nextUrl ?? this.nextUrl,
page: page ?? this.page,
totalPages: totalPages ?? this.totalPages,
error: error ?? this.error,
loader: loader ?? this.loader,
);