UpdatePoll.fromJson constructor

UpdatePoll.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

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