GpsCoordinates constructor

GpsCoordinates({
  1. double? latitude,
  2. double? longitude,
  3. double? altitude,
})

Implementation

factory GpsCoordinates({
  $core.double? latitude,
  $core.double? longitude,
  $core.double? altitude,
}) {
  final $result = create();
  if (latitude != null) {
    $result.latitude = latitude;
  }
  if (longitude != null) {
    $result.longitude = longitude;
  }
  if (altitude != null) {
    $result.altitude = altitude;
  }
  return $result;
}