```
if (filterString != null && filterString.isEmpty) {
  filterString = null;
}
```