L0StorageService constructor Null safety

L0StorageService(
  1. String apiId,
  2. CryptoRSAPrivateKey privateKey
)

Construct a new instance of L0StorageService Requires a apiId provided by the L0 Storage Service team. Requires a _privateKey to sign all policy requests.

Implementation

L0StorageService(String apiId, CryptoRSAPrivateKey privateKey)
    : _repository = L0StorageRepository(apiId),
      _privateKey = privateKey;