operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Equality operator.

Implementation

@override
bool operator ==(Object other) {
  return other is BoardArrow && from == other.from && to == other.to;
}