GetAccuracyResponse constructor

GetAccuracyResponse({
  1. Map<String, double>? accuracy,
  2. double? positionHdop,
  3. double? positionVdop,
  4. int? positionNmeaGgaFix,
  5. double? compassDegreesError,
})

Implementation

factory GetAccuracyResponse({
  $core.Map<$core.String, $core.double>? accuracy,
  $core.double? positionHdop,
  $core.double? positionVdop,
  $core.int? positionNmeaGgaFix,
  $core.double? compassDegreesError,
}) {
  final $result = create();
  if (accuracy != null) {
    $result.accuracy.addAll(accuracy);
  }
  if (positionHdop != null) {
    $result.positionHdop = positionHdop;
  }
  if (positionVdop != null) {
    $result.positionVdop = positionVdop;
  }
  if (positionNmeaGgaFix != null) {
    $result.positionNmeaGgaFix = positionNmeaGgaFix;
  }
  if (compassDegreesError != null) {
    $result.compassDegreesError = compassDegreesError;
  }
  return $result;
}