isValid method Null safety
- String? value
override
checks the input against the given conditions
Implementation
@override
bool isValid(String? value) {
return value!.isNotEmpty;
}
checks the input against the given conditions
@override
bool isValid(String? value) {
return value!.isNotEmpty;
}