md5File static method

Future<String> md5File(
  1. String path
)

Implementation

static Future<String> md5File(String path) async {
  var bytes = await File(path).readAsBytes();
  return md5(bytes);
}