UpdatePoll.fromJson constructor

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

Parse from a json

Implementation

UpdatePoll.fromJson(Map<String, dynamic> json) {
  this.poll = Poll.fromJson(json['poll'] ?? <String, dynamic>{});
  this.extra = json['@extra'];
}