|
@@ -171,14 +171,17 @@ class SendSMSVerificationCodeRequest {
|
|
|
|
|
|
class SendEmailVerificationCodeRequest {
|
|
|
String? emailAddress;
|
|
|
+ String? languageCode;
|
|
|
|
|
|
SendEmailVerificationCodeRequest({
|
|
|
this.emailAddress,
|
|
|
+ this.languageCode,
|
|
|
});
|
|
|
|
|
|
factory SendEmailVerificationCodeRequest.fromJson(Map<String, dynamic> map) {
|
|
|
return SendEmailVerificationCodeRequest(
|
|
|
emailAddress: map['EmailAddress'],
|
|
|
+ languageCode: map['LanguageCode'],
|
|
|
);
|
|
|
}
|
|
|
|
|
@@ -186,6 +189,8 @@ class SendEmailVerificationCodeRequest {
|
|
|
final map = Map<String, dynamic>();
|
|
|
if(emailAddress != null)
|
|
|
map['EmailAddress'] = emailAddress;
|
|
|
+ if(languageCode != null)
|
|
|
+ map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
|
}
|