toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "rows": rows.map((i) => i.map((ii) => ii.toJson()).toList()).toList(),
    "resize_keyboard": resizeKeyboard,
    "one_time": oneTime,
    "is_personal": isPersonal,
    "input_field_placeholder": inputFieldPlaceholder,
  };
}