lowercase static method

String? Function(String?) lowercase({
  1. String errorMessage = 'Must be lowercase',
})

Ensures the string is entirely lowercase.

Implementation

static String? Function(String?) lowercase({
  String errorMessage = 'Must be lowercase',
}) {
  return _build(errorMessage, (v) => v.isLowercase);
}