equals method
- HandInterface other
override
Implementation
@override
bool equals(HandInterface other) {
if (other is! Hand) return false;
return _cards.equals(other._cards);
}
@override
bool equals(HandInterface other) {
if (other is! Hand) return false;
return _cards.equals(other._cards);
}