GoogleCloudRecaptchaenterpriseV1ClientSettings.fromJson constructor

GoogleCloudRecaptchaenterpriseV1ClientSettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1ClientSettings.fromJson(core.Map json_)
  : this(
      allowAllDomains: json_['allowAllDomains'] as core.bool?,
      allowedDomains: (json_['allowedDomains'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      protectedEndpointGroup: json_.containsKey('protectedEndpointGroup')
          ? GoogleCloudRecaptchaenterpriseV1ProtectedEndpointGroup.fromJson(
              json_['protectedEndpointGroup']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );