toJson method
Converts a ReplyKeyboardMarkup object to a json String
Implementation
@override
Map<String, dynamic> toJson() {
return {
'keyboard': List<dynamic>.from(
keyboard.map(
(x) => List<dynamic>.from(
x.map(
(x) => x.toJson(),
),
),
),
),
'resize_keyboard': resizeKeyboard,
'one_time_keyboard': oneTimeKeyboard,
'input_field_placeholder': inputFieldPlaceholder,
'selective': selective,
'is_persistent': isPersistent,
}..removeWhere(_nullFilter);
}