UpdatePollAnswer.fromJson constructor
Parse from a json
Implementation
factory UpdatePollAnswer.fromJson(Map<String, dynamic> json) => UpdatePollAnswer(
pollId: int.parse(json['poll_id']),
userId: json['user_id'],
optionIds: List<int>.from((json['option_ids'] ?? []).map((item) => item).toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);