hasValue property
bool
get
hasValue
Implementation
bool get hasValue => switch (currentValue) {
String s => s.isNotEmpty,
List l => l.isNotEmpty,
null => false,
_ => true,
};