generateMd5 method

String generateMd5({
  1. String? saltString,
})

Generates the md5 hash with an optional saltString.

Implementation

String generateMd5({String? saltString}) => md5
    .convert(utf8.encode("$this${saltString != null ? ".$saltString" : ""}"))
    .toString();