uuid static method
Ensures the string is a valid UUID.
Implementation
static String? Function(String?) uuid({
String errorMessage = 'Please enter a valid UUID',
}) {
return _build(errorMessage, (v) => v.isUUID);
}
Ensures the string is a valid UUID.
static String? Function(String?) uuid({
String errorMessage = 'Please enter a valid UUID',
}) {
return _build(errorMessage, (v) => v.isUUID);
}