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