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