md5 static method

String? Function(String?) md5({
  1. String errorMessage = 'Please enter a valid MD5 hash',
})

Ensures the string is a valid MD5 hash.

Implementation

static String? Function(String?) md5({
  String errorMessage = 'Please enter a valid MD5 hash',
}) {
  return _build(errorMessage, (v) => v.isMD5);
}