isSearchEmpty static method

bool isSearchEmpty(
  1. String search
)

Implementation

static bool isSearchEmpty(String search) {
  return search.trim().isEmpty;
}