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