copyWith method
Implementation
LocationModel copyWith({
double? latitude,
double? longitude,
String? address,
}) {
return LocationModel(
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
address: address ?? this.address,
);
}