filter method

List<T>? filter(
  1. List<T>? list,
  2. String filter
)

Implementation

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