GetLocationResponse constructor

GetLocationResponse({
  1. GeoPoint? location,
  2. double? compassHeading,
})

Implementation

factory GetLocationResponse({
  $14.GeoPoint? location,
  $core.double? compassHeading,
}) {
  final $result = create();
  if (location != null) {
    $result.location = location;
  }
  if (compassHeading != null) {
    $result.compassHeading = compassHeading;
  }
  return $result;
}