equalItems abstract method
Will return true
only if the collection items are equal to the iterable
items. If the collection is ordered, it will also check if the items are
in the same order. This may be slow for very large collection, since it
compares each item, one by one. If you try to compare ordered and unordered
collections, it will throw a StateError.
Implementation
bool equalItems(Iterable other);