toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'replyMarkupShowKeyboard',
    if (extra != null) '@extra': extra,
    'rows': rows,
    'is_persistent': is_persistent,
    'resize_keyboard': resize_keyboard,
    'one_time': one_time,
    'is_personal': is_personal,
    'input_field_placeholder': input_field_placeholder
  };
}