cuid method
Validates that the string is a valid CUID (must start with 'c' followed by at least 24 lowercase alphanumeric characters).
Implementation
StringValidator cuid({String message = "Invalid CUID"}) {
return regex(RegExp(r'^c[0-9a-z]{24,}$'), message: message);
}