isMatched static method

bool isMatched(
  1. Object matcher,
  2. Object value
)

Implementation

static bool isMatched(Object matcher, Object value) {
  return Validator.isValidObject(matcher) &&
      matcher.toString() == value.toString();
}