add method Null safety

void add(
  1. SearchTerm term
)

Adds a new search term

Implementation

void add(SearchTerm term) {
  searchTerms.add(term);
}