operator - method

  1. @override
ECPoint? operator -(
  1. covariant ECPoint b
)
override

Implementation

@override
ECPoint? operator -(ECPoint b) {
  if (b.isInfinity) {
    return this;
  }

  // Add -b
  return this + (-b);
}