create static method
EmailAddressAuthenticationCodeInfo
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "emailAddressAuthenticationCodeInfo",
- String special_return_type = "emailAddressAuthenticationCodeInfo",
- String? email_address_pattern,
- num? length,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static EmailAddressAuthenticationCodeInfo create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "emailAddressAuthenticationCodeInfo",
String special_return_type = "emailAddressAuthenticationCodeInfo",
String? email_address_pattern,
num? length,
}) {
// EmailAddressAuthenticationCodeInfo emailAddressAuthenticationCodeInfo = EmailAddressAuthenticationCodeInfo({
final Map emailAddressAuthenticationCodeInfo_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"email_address_pattern": email_address_pattern,
"length": length,
};
emailAddressAuthenticationCodeInfo_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (emailAddressAuthenticationCodeInfo_data_create_json.containsKey(key) == false) {
emailAddressAuthenticationCodeInfo_data_create_json[key] = value;
}
});
}
return EmailAddressAuthenticationCodeInfo(emailAddressAuthenticationCodeInfo_data_create_json);
}