bool equals(Object? other) { if (identical(this, other)) return true; if (other is! ECCurveFp) return false; return q == other.q && a == other.a && b == other.b; }