valueOrNull method
Returns the current value of a filter or null if the filter is not found or does not have a value.
Implementation
dynamic valueOrNull(String filterId) {
var state = _states[filterId];
if (state == null) {
return null;
}
return state.value;
}