equals method

  1. @override
bool equals(
  1. HandInterface other
)
override

Implementation

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