copyWith method
Creates a copy with updated properties.
Implementation
TLoadOptions<T> copyWith({
int? page,
int? itemsPerPage,
String? search,
}) {
return TLoadOptions<T>(
page: page ?? this.page,
itemsPerPage: itemsPerPage ?? this.itemsPerPage,
search: search ?? this.search,
);
}