SearchFilter property

SearchFilter? get SearchFilter
Gets or sets the search filter associated with the search folder. 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.PropertyChanged);
  }

  this.searchFilter = value;

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