Checksum class

A class for checking the checksum of a given file.

Constructors

Checksum()

Properties

fileHash ↔ Digest?
The hash of the file.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

check(File file, Hash type, String expectedHash) Future<bool>
Checks the checksum of the given file using the specified type of hash and compares it to the expectedHash. Returns a Future<bool> indicating if the file's hash matches the expected hash.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited