copyWith method
Destination
copyWith({
- PolylineDetails? geocoderStatus,
- List<
String> ? type, - String? placeId,
- bool? partialMatch,
Implementation
Destination copyWith({
PolylineDetails? geocoderStatus,
List<String>? type,
String? placeId,
bool? partialMatch,
}) {
return Destination(
geocoderStatus: geocoderStatus ?? this.geocoderStatus,
type: type ?? this.type,
placeId: placeId ?? this.placeId,
partialMatch: partialMatch ?? this.partialMatch,
);
}