ReplyMarkupShowKeyboard.fromJson constructor
Parse from a json
Implementation
factory ReplyMarkupShowKeyboard.fromJson(Map<String, dynamic> json) =>
ReplyMarkupShowKeyboard(
rows: List<List<KeyboardButton>>.from((json['rows'] ?? [])
.map((item) => List<KeyboardButton>.from((item ?? [])
.map((innerItem) => KeyboardButton.fromJson(innerItem))
.toList()))
.toList()),
isPersistent: json['is_persistent'],
resizeKeyboard: json['resize_keyboard'],
oneTime: json['one_time'],
isPersonal: json['is_personal'],
inputFieldPlaceholder: json['input_field_placeholder'],
);