setFilters

fun setFilters(filterObject: FilterObject)

Allows us to change the filter based on our requirements.

Parameters

filterObject

The new filter to be applied to the query which lets us fetch different data.