@override bool isValid(String? value) { if (value?.isEmpty ?? true) { return true; } if (value!.length > minLength) { return true; } return false; }