copyWith method

GeolocationSpeed copyWith({
  1. double? speed,
  2. double? accuracy,
})

Implementation

GeolocationSpeed copyWith({double? speed, double? accuracy}) {
  return GeolocationSpeed(
      speed: speed ?? this.speed, accuracy: accuracy ?? this.accuracy);
}