toJson method
Converts this object to something serializable in JSON.
Implementation
Object toJson() {
return <double>[latitude, longitude];
}
Converts this object to something serializable in JSON.
Object toJson() {
return <double>[latitude, longitude];
}