copyWith method
GeoCodingResponse
copyWith(
{ - int? placeId,
- String? lat,
- String? lng,
- String? displayName,
- String? name,
- int? placeRank,
- String? category,
- String? type,
- double? importance,
- String? osmType,
- int? osmId,
})
Implementation
GeoCodingResponse copyWith({
int? placeId,
String? lat,
String? lng,
String? displayName,
String? name,
int? placeRank,
String? category,
String? type,
double? importance,
String? osmType,
int? osmId,
}) =>
GeoCodingResponse(
placeId: placeId ?? this.placeId,
lat: lat ?? this.lat,
lng: lng ?? this.lng,
displayName: displayName ?? this.displayName,
name: name ?? this.name,
placeRank: placeRank ?? this.placeRank,
category: category ?? this.category,
type: type ?? this.type,
importance: importance ?? this.importance,
osmType: osmType ?? this.osmType,
osmId: osmId ?? this.osmId,
);