GoogleFirebaseAppcheckV1betaDeviceCheckConfig.fromJson constructor

GoogleFirebaseAppcheckV1betaDeviceCheckConfig.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseAppcheckV1betaDeviceCheckConfig.fromJson(core.Map _json)
    : this(
        keyId:
            _json.containsKey('keyId') ? _json['keyId'] as core.String : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        privateKey: _json.containsKey('privateKey')
            ? _json['privateKey'] as core.String
            : null,
        privateKeySet: _json.containsKey('privateKeySet')
            ? _json['privateKeySet'] as core.bool
            : null,
        tokenTtl: _json.containsKey('tokenTtl')
            ? _json['tokenTtl'] as core.String
            : null,
      );