valueOrNull method

dynamic valueOrNull(
  1. String filterId
)

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;
}