toMap method
- @override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'magneticHeading': this.magneticHeading,
'trueHeading': this.trueHeading,
'headingAccuracy': this.headingAccuracy,
'x': this.x,
'y': this.y,
'z': this.z,
'timestamp': this.timestamp
};
}