isSimilar method

bool isSimilar(
  1. String value
)

Implementation

bool isSimilar(String value) {
  return replaceAll(" ", "").toLowerCase() ==
      value.replaceAll(" ", "").toLowerCase();
}