Returns JSON-encodeable map of this object.
Map<String, dynamic> toJson() { return { 'chat': chat.toJson(), 'id': id, }; }