create static method

ResendCodeReasonVerificationFailed create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "resendCodeReasonVerificationFailed",
  3. String special_return_type = "resendCodeReason",
  4. String? error_message,
})
override

Generate By General Universe Script Dont edit by hand or anything manual

Implementation

static ResendCodeReasonVerificationFailed create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "resendCodeReasonVerificationFailed",
  String special_return_type = "resendCodeReason",
  String? error_message,
}) {
  // ResendCodeReasonVerificationFailed resendCodeReasonVerificationFailed = ResendCodeReasonVerificationFailed({
  final Map resendCodeReasonVerificationFailed_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "error_message": error_message,
  };

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

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