SearchFilter property

SearchFilter? get SearchFilter
Gets or sets the search filter to negate. Available search filter classes include SearchFilter.IsEqualTo, SearchFilter.ContainsSubString and SearchFilter.SearchFilterCollection.

Implementation

search.SearchFilter? get SearchFilter => this.searchFilter;
set SearchFilter (SearchFilter? value)

Implementation

set SearchFilter(search.SearchFilter? value) {
  if (this.searchFilter != null) {
    this.searchFilter!.removeChangeEvent(this.SearchFilterChanged);
  }

  if (this.CanSetFieldValue(this.searchFilter, searchFilter)) {
    this.searchFilter = searchFilter;
    this.Changed();
  }

  if (this.searchFilter != null) {
    this.searchFilter!.addOnChangeEvent(this.SearchFilterChanged);
  }
}