isIdenticalWith method
Returns true
if this shares same callbacks with other
.
Implementation
bool isIdenticalWith(InheritanceResolvers other) {
var thiz = this;
while (thiz._callbacks == null) {
final thisParent = thiz.parent;
if (thisParent == null) {
break;
} else {
thiz = thisParent;
}
}
var othez = other;
while (othez._callbacks == null) {
final otherParent = othez.parent;
if (otherParent == null) {
break;
} else {
othez = otherParent;
}
}
return identical(thiz, othez);
}