LocationPointInput constructor
LocationPointInput({})
Implementation
factory LocationPointInput({
$2.Timestamp? timestamp,
$core.double? latitude,
$core.double? longitude,
$core.double? altitude,
$core.double? accuracy,
$core.double? speed,
$core.double? bearing,
LocationSource? source,
$6.Struct? extra,
$core.String? deviceId,
}) {
final $result = create();
if (timestamp != null) {
$result.timestamp = timestamp;
}
if (latitude != null) {
$result.latitude = latitude;
}
if (longitude != null) {
$result.longitude = longitude;
}
if (altitude != null) {
$result.altitude = altitude;
}
if (accuracy != null) {
$result.accuracy = accuracy;
}
if (speed != null) {
$result.speed = speed;
}
if (bearing != null) {
$result.bearing = bearing;
}
if (source != null) {
$result.source = source;
}
if (extra != null) {
$result.extra = extra;
}
if (deviceId != null) {
$result.deviceId = deviceId;
}
return $result;
}