copyWith method
Implementation
PagingRestrictions copyWith({
int? currentPage,
int? pageSize,
String? sortField,
String? sortOrder,
}) {
return PagingRestrictions(
currentPage: currentPage ?? this.currentPage,
pageSize: pageSize ?? this.pageSize,
sortField: sortField ?? this.sortField,
sortOrder: sortOrder ?? this.sortOrder,
);
}