sha1 property

Future<String> get sha1

Implementation

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