KeyboardButtonPollType.fromJson constructor
Creates a KeyboardButtonPollType object from JSON object
Implementation
factory KeyboardButtonPollType.fromJson(Map<String, dynamic> json) {
return KeyboardButtonPollType(
type: PollType.fromJson(json['type']),
);
}