GoogleCloudIdentitytoolkitAdminV2NotificationConfig.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2NotificationConfig.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitAdminV2NotificationConfig.fromJson(core.Map _json)
    : this(
        defaultLocale: _json.containsKey('defaultLocale')
            ? _json['defaultLocale'] as core.String
            : null,
        sendEmail: _json.containsKey('sendEmail')
            ? GoogleCloudIdentitytoolkitAdminV2SendEmail.fromJson(
                _json['sendEmail'] as core.Map<core.String, core.dynamic>)
            : null,
        sendSms: _json.containsKey('sendSms')
            ? GoogleCloudIdentitytoolkitAdminV2SendSms.fromJson(
                _json['sendSms'] as core.Map<core.String, core.dynamic>)
            : null,
      );