areEqual method
Determines whether two records have the same state. See areIdentical for a check that two records represent the same resource.
Implementation
@override
bool areEqual(a, b) {
if (a is Diffable) {
return a.diffEquals(b);
} else if (b is Diffable) {
return b.diffEquals(a);
}
return fallbackEquals.equals(a, b);
}