generateMd5 property

String get generateMd5

Generates the MD5 hash of the URI as a string.

Converts the URI to a string, encodes it as UTF-8, and returns the MD5 hash.

Implementation

String get generateMd5 {
  return md5.convert(utf8.encode(this.toString())).toString();
}