GoogleCloudIdentitytoolkitAdminV2SendEmail.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2SendEmail.fromJson(
  1. 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,
      );