toJson method
Converts an InlineKeyboardMarkup object to JSON object
Implementation
@override
Map<String, dynamic> toJson() {
return {
'inline_keyboard': inlineKeyboard.map((row) {
return row.map((button) {
return button.toJson();
}).toList();
}).toList(),
}..removeWhere(_nullFilter);
}