BMFHeading.fromMap constructor

BMFHeading.fromMap(
  1. Map map
)

map => BMFHeading

Implementation

BMFHeading.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFHeading,The parameter map cannot be null') {
  magneticHeading = map['magneticHeading'];
  trueHeading = map['trueHeading'];
  headingAccuracy = map['headingAccuracy'];
  x = map['x'];
  y = map['y'];
  z = map['z'];
  timestamp = map['timestamp'];
}