GlpiSearchCriteria constructor Null safety
- int field,
- GlpiItemType? type,
- dynamic value,
- GlpiSearchType searchType,
- {GlpiSearchLink? link,
- bool meta = false}
Create a new search criteria for GlpiClient.search link is the logical link between the search criteria field is the id of the search option (See : GlpiClient.listSearchOptions) meta is true if the search option is a meta one type is only used if the search option is a meta one searchType is the search type (See : GlpiSearchType) value is the value to search for See https://github.com/glpi-project/glpi/blob/master/apirest.md#search-items
Implementation
GlpiSearchCriteria(this.field, this.type, this.value, this.searchType,
{this.link, this.meta = false});