isMD5 static method

bool isMD5(
  1. String? s
)

验证是否为 MD5 格式(32 位十六进制,大小写均可)。

Implementation

static bool isMD5(String? s) =>
    s != null && s.isNotEmpty && _md5RegExp.hasMatch(s);