operator == method
Check if two CurveED objects are equal based on their properties
Implementation
@override
operator ==(other) {
if (other is CurveED) {
if (identical(this, other)) return true;
return (p == other.p && a == other.a && d == other.d && h == other.h);
}
return false;
}