dart check if sets are equal code example
Example: dart list equality
Function eq = const ListEquality().equals;
print(eq([1,'two',3], [1,'two',3])); // => true
Function eq = const ListEquality().equals;
print(eq([1,'two',3], [1,'two',3])); // => true