dart check if all feilds match other object 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