Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'canSendStory', if (extra != null) '@extra': extra, 'chat_id': chat_id }; }