validate method

  1. @override
List<String>? validate(
  1. String? value
)
override

Implementation

@override
List<String>? validate(String? value) {
  if (value == null || value.isEmpty)
    return [ValidationErrorsLocalized.NOT_EMPTY];

  return null;
}