Imu.fromJson constructor
Imu.fromJson(
- Map json_
Implementation
Imu.fromJson(core.Map json_)
: this(
accelMpsps: json_.containsKey('accelMpsps')
? (json_['accelMpsps'] as core.List)
.map((value) => Measurement3d.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
gyroRps: json_.containsKey('gyroRps')
? (json_['gyroRps'] as core.List)
.map((value) => Measurement3d.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
magUt: json_.containsKey('magUt')
? (json_['magUt'] as core.List)
.map((value) => Measurement3d.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);