md5File static method

String md5File(
  1. File file
)

Implementation

static String md5File(File file) {
  var digest = md5.convert(file.readAsBytesSync());
  return hex.encode(digest.bytes);
}