MessagePoll.fromJson constructor

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

Parse from a json

Implementation

factory MessagePoll.fromJson(Map<String, dynamic> json) => MessagePoll(
  poll: Poll.fromJson(json['poll']),
);