valueOrNullAs<T> method
Returns the current value of a filter casting to T
or null if the filter is not found
or does not have a value.
Implementation
T? valueOrNullAs<T>(String filterId) {
var value = valueOrNull(filterId);
return value as T?;
}