fromJson static method

ReplyKeyboardMarkup fromJson(
  1. Map<String, dynamic> json
)

Creates a object from a json

Implementation

static ReplyKeyboardMarkup fromJson(Map<String, dynamic> json) {
  return ReplyKeyboardMarkup(
    KeyboardButton.listOfListsFromJsonArray(json['keyboard']!),
    resizeKeyboard: json['resize_keyboard'],
    oneTimeKeyboard: json['one_time_keyboard'],
    inputFieldPlaceholder: json['input_field_placeholder'],
    selective: json['selective'],
  );
}