toJson method
Creates a json from the object
Implementation
Map toJson() {
return {
'type': type,
'id': id,
'game_short_name': gameShortName,
'reply_markup': replyMarkup,
}..removeWhere((_, v) => v == null);
}
Creates a json from the object
Map toJson() {
return {
'type': type,
'id': id,
'game_short_name': gameShortName,
'reply_markup': replyMarkup,
}..removeWhere((_, v) => v == null);
}