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