onStash method

  1. @override
void onStash(
  1. String searchTerm
)
override

Action upon selecting the Stash option.

Implementation

@override
void onStash(String searchTerm) {
  appModel.addToStash(terms: [searchTerm]);
}