fromJson static method
Implementation
static ChatLocation? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatLocation(
location: Location.fromJson(tdMapFromJson(json['location'])),
address: (json['address'] as String?) ?? '',
);
}