copyWith method

LocationFuzzyDouble copyWith({
  1. double? value,
  2. Optional<double?>? accuracy,
})

Implementation

LocationFuzzyDouble copyWith({
  double? value,
  Optional<double?>? accuracy
}) {
  return LocationFuzzyDouble(
    value: value ?? this.value,
    accuracy: accuracy != null ? accuracy.value : this.accuracy
  );
}