GoogleCloudRecaptchaenterpriseV1TestingOptions.fromJson constructor Null safety

GoogleCloudRecaptchaenterpriseV1TestingOptions.fromJson(
  1. Map _json
)

Implementation

GoogleCloudRecaptchaenterpriseV1TestingOptions.fromJson(core.Map _json)
    : this(
        testingChallenge: _json.containsKey('testingChallenge')
            ? _json['testingChallenge'] as core.String
            : null,
        testingScore: _json.containsKey('testingScore')
            ? (_json['testingScore'] as core.num).toDouble()
            : null,
      );