GoogleCloudRecaptchaenterpriseV1Key.fromJson constructor

GoogleCloudRecaptchaenterpriseV1Key.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1Key.fromJson(core.Map json_)
    : this(
        androidSettings: json_.containsKey('androidSettings')
            ? GoogleCloudRecaptchaenterpriseV1AndroidKeySettings.fromJson(
                json_['androidSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        iosSettings: json_.containsKey('iosSettings')
            ? GoogleCloudRecaptchaenterpriseV1IOSKeySettings.fromJson(
                json_['iosSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        testingOptions: json_.containsKey('testingOptions')
            ? GoogleCloudRecaptchaenterpriseV1TestingOptions.fromJson(
                json_['testingOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        wafSettings: json_.containsKey('wafSettings')
            ? GoogleCloudRecaptchaenterpriseV1WafSettings.fromJson(
                json_['wafSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        webSettings: json_.containsKey('webSettings')
            ? GoogleCloudRecaptchaenterpriseV1WebKeySettings.fromJson(
                json_['webSettings'] as core.Map<core.String, core.dynamic>)
            : null,
      );