GoogleCloudIdentitytoolkitAdminV2SendEmail.fromJson constructor
GoogleCloudIdentitytoolkitAdminV2SendEmail.fromJson(
- Map _json
Implementation
GoogleCloudIdentitytoolkitAdminV2SendEmail.fromJson(core.Map _json)
: this(
callbackUri: _json.containsKey('callbackUri')
? _json['callbackUri'] as core.String
: null,
changeEmailTemplate: _json.containsKey('changeEmailTemplate')
? GoogleCloudIdentitytoolkitAdminV2EmailTemplate.fromJson(
_json['changeEmailTemplate']
as core.Map<core.String, core.dynamic>)
: null,
dnsInfo: _json.containsKey('dnsInfo')
? GoogleCloudIdentitytoolkitAdminV2DnsInfo.fromJson(
_json['dnsInfo'] as core.Map<core.String, core.dynamic>)
: null,
legacyResetPasswordTemplate:
_json.containsKey('legacyResetPasswordTemplate')
? GoogleCloudIdentitytoolkitAdminV2EmailTemplate.fromJson(
_json['legacyResetPasswordTemplate']
as core.Map<core.String, core.dynamic>)
: null,
method: _json.containsKey('method')
? _json['method'] as core.String
: null,
resetPasswordTemplate: _json.containsKey('resetPasswordTemplate')
? GoogleCloudIdentitytoolkitAdminV2EmailTemplate.fromJson(
_json['resetPasswordTemplate']
as core.Map<core.String, core.dynamic>)
: null,
revertSecondFactorAdditionTemplate:
_json.containsKey('revertSecondFactorAdditionTemplate')
? GoogleCloudIdentitytoolkitAdminV2EmailTemplate.fromJson(
_json['revertSecondFactorAdditionTemplate']
as core.Map<core.String, core.dynamic>)
: null,
smtp: _json.containsKey('smtp')
? GoogleCloudIdentitytoolkitAdminV2Smtp.fromJson(
_json['smtp'] as core.Map<core.String, core.dynamic>)
: null,
verifyEmailTemplate: _json.containsKey('verifyEmailTemplate')
? GoogleCloudIdentitytoolkitAdminV2EmailTemplate.fromJson(
_json['verifyEmailTemplate']
as core.Map<core.String, core.dynamic>)
: null,
);