create static method

UpdateApplicationRecaptchaVerificationRequired create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "updateApplicationRecaptchaVerificationRequired",
  3. String special_return_type = "update",
  4. num? verification_id,
  5. String? action,
  6. String? recaptcha_key_id,
})
override

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

Implementation

static UpdateApplicationRecaptchaVerificationRequired create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "updateApplicationRecaptchaVerificationRequired",
  String special_return_type = "update",
  num? verification_id,
  String? action,
  String? recaptcha_key_id,
}) {
  // UpdateApplicationRecaptchaVerificationRequired updateApplicationRecaptchaVerificationRequired = UpdateApplicationRecaptchaVerificationRequired({
  final Map updateApplicationRecaptchaVerificationRequired_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "verification_id": verification_id,
    "action": action,
    "recaptcha_key_id": recaptcha_key_id,
  };

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

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