equals method
Equality operator.
Implementation
bool equals(dynamic other) {
if (other is! int && other is! Bip32Depth) {
return false;
}
if (other is int) {
return depth == other;
}
return depth == other.depth;
}
Equality operator.
bool equals(dynamic other) {
if (other is! int && other is! Bip32Depth) {
return false;
}
if (other is int) {
return depth == other;
}
return depth == other.depth;
}