forSearch static method

String forSearch(
  1. String text
)

Implementation

static String forSearch(String text) => normalize(text).replaceAll(RegExp(r"\s+"), " ").trim();