toMap method
Creates a map from the coordinates properties.
Implementation
Map toMap() => {
"latitude": this.latitude,
"longitude": this.longitude,
};
Creates a map from the coordinates properties.
Map toMap() => {
"latitude": this.latitude,
"longitude": this.longitude,
};