operator == method
Used for comparing if object is equal to CubicBezier
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is CubicBezier &&
x1 == other.x1 &&
y1 == other.y1 &&
x2 == other.x2 &&
y2 == other.y2 &&
x3 == other.x3 &&
y3 == other.y3;
}