create static method

ReplyMarkupForceReply create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "replyMarkupForceReply",
  3. String special_return_type = "replyMarkup",
  4. bool? is_personal,
  5. String? input_field_placeholder,
})
override

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

static ReplyMarkupForceReply create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "replyMarkupForceReply",
  String special_return_type = "replyMarkup",
  bool? is_personal,
  String? input_field_placeholder,
}) {
  // ReplyMarkupForceReply replyMarkupForceReply = ReplyMarkupForceReply({
  final Map replyMarkupForceReply_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "is_personal": is_personal,
    "input_field_placeholder": input_field_placeholder,
  };

  replyMarkupForceReply_data_create_json.removeWhere((key, value) => value == null);

  if (schemeUtilsIsSetDefaultData) {
    defaultData.forEach((key, value) {
      if (replyMarkupForceReply_data_create_json.containsKey(key) == false) {
        replyMarkupForceReply_data_create_json[key] = value;
      }
    });
  }
  return ReplyMarkupForceReply(replyMarkupForceReply_data_create_json);
}