copyWith method
Implementation
Location copyWith({
double? latitude,
double? longitude,
double? horizontalAccuracy,
}) =>
Location(
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
horizontalAccuracy: horizontalAccuracy ?? this.horizontalAccuracy,
);