operator == method

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

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;
}