search method

void search(
  1. String input
)

Filters the rocks by the query and saves it to filteredRocks.

Implementation

void search(String input) => notifyListeners();