UppercaseValidationRule constructor

UppercaseValidationRule({
  1. String? customText,
  2. bool? showName,
})

Implementation

UppercaseValidationRule({
  String? customText,
  bool? showName,
}) : super(
          name: customText ?? 'Has uppercase letter',
          showName: showName ?? true,
          regex: r'[A-Z]');