copyWith method
DistanceApptiveGridSorting
copyWith({
- String? fieldId,
- SortOrder? order,
- Geolocation? location,
override
Creates a new Version of ApptiveGridSorting changing the values of this with fieldId
and order
if they are not null
Implementation
@override
DistanceApptiveGridSorting copyWith({
String? fieldId,
SortOrder? order,
Geolocation? location,
}) {
return DistanceApptiveGridSorting(
fieldId: fieldId ?? this.fieldId,
order: order ?? this.order,
location: location ?? this.location,
);
}