Dart MD5 From String : <p>How to generate md5 hash from string?</p>

<pre><code>import 'package:crypto/crypto.dart' as crypto;
///Generate MD5 hash
generateMd5(String data) {
  var content = UTF8.encode(data);
  var md5 = crypto.md5;
}
</code></pre>

<p>I have no idea what next to do</p>
