fromJson static method
Creates a object from a json
Implementation
static KeyboardButtonPollType fromJson(Map<String, dynamic> json) {
return KeyboardButtonPollType(
type: callIfNotNull(PollType.forValue, json['type']),
);
}
Creates a object from a json
static KeyboardButtonPollType fromJson(Map<String, dynamic> json) {
return KeyboardButtonPollType(
type: callIfNotNull(PollType.forValue, json['type']),
);
}