copyWith method

LocationCoordinates copyWith({
  1. GeoPoint? value,
  2. double? accuracy,
})

Implementation

LocationCoordinates copyWith({
  GeoPoint? value,
  double? accuracy
}) {
  return LocationCoordinates(
    value: value ?? this.value,
    accuracy: accuracy ?? this.accuracy
  );
}