copyWith method
Creates a copy of this S2ChoiceLoaderInfo but with the given fields replaced with the new values.
Implementation
S2ChoiceLoaderInfo<T> copyWith({
List<T>? values,
String? query,
int? page,
int? skip,
int? limit,
}) {
return S2ChoiceLoaderInfo<T>(
values: values ?? this.values,
query: query ?? this.query,
page: page ?? this.page,
skip: skip ?? this.skip,
limit: limit ?? this.limit,
);
}