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