Parse from a json
factory ChatNearby.fromJson(Map<String, dynamic> json) => ChatNearby( chatId: json['chat_id'], distance: json['distance'], );