FilterOptions constructor

const FilterOptions({
  1. Input<Filter>? filter,
  2. Input<String>? objectType,
})

Creates a new FilterOptions. filter Generic filter to restrict the search, such as lang:en, site:xyz. objectType If object_type is set, only objects of that type are returned. This should correspond to the name of the object that was registered within the definition of schema. The maximum length is 256 characters.

Implementation

const FilterOptions({
  this.filter,
  this.objectType,
});