GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig.fromJson(core.Map json_)
  : this(
      allowByDefault:
          json_.containsKey('allowByDefault')
              ? GoogleCloudIdentitytoolkitAdminV2AllowByDefault.fromJson(
                json_['allowByDefault']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      allowlistOnly:
          json_.containsKey('allowlistOnly')
              ? GoogleCloudIdentitytoolkitAdminV2AllowlistOnly.fromJson(
                json_['allowlistOnly'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );