CryptoHashWorker.file constructor

const CryptoHashWorker.file({
  1. required String? filePath,
  2. HashAlgorithm algorithm = HashAlgorithm.sha256,
})

Implementation

const CryptoHashWorker.file({
  required this.filePath,
  this.algorithm = HashAlgorithm.sha256,
}) : data = null;