GoogleCloudRecaptchaenterpriseV1AndroidKeySettings.fromJson constructor

GoogleCloudRecaptchaenterpriseV1AndroidKeySettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1AndroidKeySettings.fromJson(core.Map json_)
    : this(
        allowAllPackageNames: json_.containsKey('allowAllPackageNames')
            ? json_['allowAllPackageNames'] as core.bool
            : null,
        allowedPackageNames: json_.containsKey('allowedPackageNames')
            ? (json_['allowedPackageNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        supportNonGoogleAppStoreDistribution:
            json_.containsKey('supportNonGoogleAppStoreDistribution')
                ? json_['supportNonGoogleAppStoreDistribution'] as core.bool
                : null,
      );