checkReleaseFile method
Checks a bundleFile
with this manifest file.
Implementation
Future<bool> checkReleaseFile(ReleaseFile bundleFile) async {
var length = await bundleFile.length;
if (length != this.length) return false;
var dataSHA256 = await bundleFile.dataSHA256;
return sha256.equals(dataSHA256);
}