Parse from a json
factory UpdatePoll.fromJson(Map<String, dynamic> json) => UpdatePoll( poll: Poll.fromJson(json['poll']), extra: json['@extra'], clientId: json['@client_id'], );