clearQuery method

void clearQuery()

Called from your UI to clear the current search query.

Note: this is functionally equivalent to setting the search query to an empty string.

Implementation

void clearQuery() => emit('');