clear method
void
clear()
Clears the PdfTextSearchResult object and cancels the search process.
Once this method is called, the search process will be cancelled in the UI and the PdfTextSearchResult object will be cleared, which in turn changes the hasResult property value to 'false`.
Implementation
void clear() {
_notifyPropertyChangedListeners(property: 'clear');
}