toJson method
Converts a LocationChatMessage instance to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
"latitude": latitude,
"longitude": longitude,
"mapLocationUrl": mapLocationUrl,
"messageId": messageId,
};