List<T>? filter(List<T>? list, String filter) { return list?.where((item) => _filter$.value == null || item.toString().toLowerCase().contains(filterValue) || filterValue.isEmpty).toList(); }