isMD5 method Null safety

bool isMD5(
  1. String s
)

Checks if string is MD5 hash.

Implementation

static bool isMD5(String s) => hasMatch(s, r'^[a-f0-9]{32}$');