toJson method
Converts a ChatLocation to a Map for JSON encoding.
Implementation
Map<String, dynamic> toJson() {
return {
'location': location.toJson(),
'address': address,
};
}
Converts a ChatLocation to a Map for JSON encoding.
Map<String, dynamic> toJson() {
return {
'location': location.toJson(),
'address': address,
};
}