operator == method

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

Check if two CurveFp objects are equal based on their properties

Implementation

@override
operator ==(other) {
  if (other is CurveFp) {
    return (p == other.p && a == other.a && b == other.b && h == other.h);
  }
  return false;
}