toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (allowedOrigins != null) {
_json['allowedOrigins'] = allowedOrigins;
}
if (allowedAuthMethods != null) {
_json['allowedAuthMethods'] = allowedAuthMethods;
}
if (sendFromEmailAddress != null) {
_json['sendFromEmailAddress'] = sendFromEmailAddress;
}
if (replyToEmailAddress != null) {
_json['replyToEmailAddress'] = replyToEmailAddress;
}
if (emailAuthTemplateId != null) {
_json['emailAuthTemplateId'] = emailAuthTemplateId;
}
if (otpTemplateId != null) {
_json['otpTemplateId'] = otpTemplateId;
}
if (emailCustomizationParams != null) {
_json['emailCustomizationParams'] = emailCustomizationParams?.toJson();
}
if (smsCustomizationParams != null) {
_json['smsCustomizationParams'] = smsCustomizationParams?.toJson();
}
if (walletKitSettings != null) {
_json['walletKitSettings'] = walletKitSettings?.toJson();
}
if (otpExpirationSeconds != null) {
_json['otpExpirationSeconds'] = otpExpirationSeconds;
}
if (verificationTokenExpirationSeconds != null) {
_json['verificationTokenExpirationSeconds'] = verificationTokenExpirationSeconds;
}
if (sessionExpirationSeconds != null) {
_json['sessionExpirationSeconds'] = sessionExpirationSeconds;
}
if (otpAlphanumeric != null) {
_json['otpAlphanumeric'] = otpAlphanumeric;
}
if (otpLength != null) {
_json['otpLength'] = otpLength;
}
if (sendFromEmailSenderName != null) {
_json['sendFromEmailSenderName'] = sendFromEmailSenderName;
}
if (verificationTokenRequiredForGetAccountPii != null) {
_json['verificationTokenRequiredForGetAccountPii'] = verificationTokenRequiredForGetAccountPii;
}
return _json;
}