validateSingle method
Implementation
bool validateSingle(dynamic value) {
if (value == null) return true;
var str = value as String;
return str.trim().isNotEmpty;
}
bool validateSingle(dynamic value) {
if (value == null) return true;
var str = value as String;
return str.trim().isNotEmpty;
}