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