collection icon indicating copy to clipboard operation
collection copied to clipboard

Add an example

Open mleonhard opened this issue 5 years ago • 3 comments

How about adding an example of how to use the equality checker classes?

final bool contentsEqual = (const ListEquality<Type>()).equals(list1, list2);
@override
bool operator ==(Object other) =>
  (other is MyClass) &&
  foo == other.foo &&
  (const ListEquality<Bar>()).equals(bars, other.bars);

mleonhard avatar Jun 13 '19 23:06 mleonhard

I really had to come to this page to understand how to use this function...

WalterLievens avatar Apr 23 '21 15:04 WalterLievens

Still lacks a decent example in 2021

sgehrman avatar Oct 23 '21 05:10 sgehrman

Still trying to figure out how to use this package. Cannot seem to get it to work, even with the example above and looking at the tests. 2 matching lists are shown as not matching... Time to just do it manually

jpSimkins avatar Jan 27 '22 17:01 jpSimkins