md5FileAsync static method

Future<String> md5FileAsync(
  1. File file
)

Implementation

static Future<String> md5FileAsync(File file) async {
  var digest = await md5.bind(file.openRead()).first;
  return hex.encode(digest.bytes);
}