equalItems method

  1. @override
bool equalItems(
  1. covariant Iterable<MapEntry> other
)
override

Will return true only if the IMap entries are equal to the entries in the Iterable. Order is irrelevant. This may be slow for very large maps, since it compares each entry, one by one. To compare with a map, use method equalItemsToMap or equalItemsToIMap.

Implementation

@override
bool equalItems(covariant Iterable<MapEntry> other) {
  return (flush._m as MFlat<K, V>).deepMapEqualsToIterable(other);
}