GoogleFirebaseAppcheckV1betaRecaptchaConfig.fromJson constructor

GoogleFirebaseAppcheckV1betaRecaptchaConfig.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseAppcheckV1betaRecaptchaConfig.fromJson(core.Map _json)
    : this(
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        siteSecret: _json.containsKey('siteSecret')
            ? _json['siteSecret'] as core.String
            : null,
        siteSecretSet: _json.containsKey('siteSecretSet')
            ? _json['siteSecretSet'] as core.bool
            : null,
        tokenTtl: _json.containsKey('tokenTtl')
            ? _json['tokenTtl'] as core.String
            : null,
      );