equalsIgnoringHashCodes function

Matcher equalsIgnoringHashCodes(
  1. Object value
)

Asserts that two Strings or Iterable<String>s are equal after normalizing likely hash codes.

A # followed by 5 hexadecimal digits is assumed to be a short hash code and is normalized to #00000.

Only String or Iterable<String> are allowed types for value.

See Also:

Implementation

Matcher equalsIgnoringHashCodes(Object value) {
  assert(value is String || value is Iterable<String>, "Only String or Iterable<String> are allowed types for equalsIgnoringHashCodes, it doesn't accept ${value.runtimeType}");
  return _EqualsIgnoringHashCodes(value);
}