upperCase static method

String? upperCase(
  1. String? value, {
  2. String? message,
})

Check if the value is in upper case.

Implementation

static String? upperCase(String? value, {String? message}) =>
    value == null || value.isEmpty || validations.isUpperCase(value) ? null : message ?? 'Please enter only uppercase letters';