copyWith method
Implementation
Place copyWith({
String? id,
String? type,
String? text,
String? placeName,
double? latitude,
double? longitude,
}) {
return Place(
id: id ?? this.id,
type: type ?? this.type,
text: text ?? this.text,
placeName: placeName ?? this.placeName,
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
);
}