sequenceEquals method
Deep equality check.
Checks if elements in other
are equal to the elements in this Iterable.
Implementation
bool sequenceEquals(Iterable<TValue> other) {
if (this == other) {
return true;
}
if (other.length != length) {
return false;
}
for (final pair in zip(other)) {
if (pair.a != pair.b) {
return false;
}
}
return true;
}