AppCheck constructor

AppCheck({
  1. required String encrypterSecretKey,
  2. required Duration clientApiAllowance,
  3. required DbService dbService,
})

Implementation

AppCheck({
  required String encrypterSecretKey,
  required Duration clientApiAllowance,
  required DbService dbService,
})  : _dbService = dbService,
      _clientApiAllowance = clientApiAllowance,
      _encrypterSecretKey = encrypterSecretKey {
  _checkAppDatasource = CheckAppDatasource(
    encrypterSecretKey: _encrypterSecretKey,
    apiHashExpiryAfter: _clientApiAllowance,
    dbService: _dbService,
  );
}