operator == method

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

Compares two Pins for equality.

Implementation

@override
bool operator ==(dynamic other) {
  return other is Pin &&
      other.start == start &&
      other.startFraction == startFraction &&
      other.end == end &&
      other.endFraction == endFraction &&
      other.size == size &&
      other.middle == middle;
}