checkValue method
Implementation
@override
bool checkValue(dynamic value) {
if (value is List) {
if (value.isEmpty) {
// todo workaround until not expression is implemented for V2
return true;
} else {
return value.any((element) => choices.contains(element));
}
}
return choices.contains(value);
}