toMap method
Implementation
Map toMap() {
return {
"location": this.location?.toMap(),
"coordType": this.coordType?.index,
"radius": this.radius,
"locTime": this.locTime,
"direction": this.direction,
"speed": this.speed,
"height": this.height,
};
}