Pose.fromJson constructor
Pose.fromJson(
- Map json_
Implementation
Pose.fromJson(core.Map json_)
: this(
accuracyMeters: json_.containsKey('accuracyMeters')
? (json_['accuracyMeters'] as core.num).toDouble()
: null,
altitude: json_.containsKey('altitude')
? (json_['altitude'] as core.num).toDouble()
: null,
gpsRecordTimestampUnixEpoch:
json_.containsKey('gpsRecordTimestampUnixEpoch')
? json_['gpsRecordTimestampUnixEpoch'] as core.String
: null,
heading: json_.containsKey('heading')
? (json_['heading'] as core.num).toDouble()
: null,
latLngPair: json_.containsKey('latLngPair')
? LatLng.fromJson(
json_['latLngPair'] as core.Map<core.String, core.dynamic>)
: null,
level: json_.containsKey('level')
? Level.fromJson(
json_['level'] as core.Map<core.String, core.dynamic>)
: null,
pitch: json_.containsKey('pitch')
? (json_['pitch'] as core.num).toDouble()
: null,
roll: json_.containsKey('roll')
? (json_['roll'] as core.num).toDouble()
: null,
);