validate method

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

Implementation

@override
List<String>? validate(dynamic value) {
  if (value == null) return [ValidationErrorsLocalized.REQUIRED];
  return null;
}