toJson method
Converts a KeyboardButtonPollType object to JSON object
Implementation
Map<String, dynamic> toJson() {
return {
'type': type?.type,
}..removeWhere(_nullFilter);
}
Converts a KeyboardButtonPollType object to JSON object
Map<String, dynamic> toJson() {
return {
'type': type?.type,
}..removeWhere(_nullFilter);
}