md5 property

Future<String> get md5

Implementation

Future<String> get md5 async {
  if (this.existsSync()) {
    final bytes = await readAsBytes();
    return crypto.md5.convert(bytes).toString();
  } else {
    return "";
  }
}