copyWith method
A copy of this value with the given members replaced.
Implementation
UnitBezier copyWith({double? x1, double? y1, double? x2, double? y2}) =>
UnitBezier(
x1: x1 ?? this.x1,
y1: y1 ?? this.y1,
x2: x2 ?? this.x2,
y2: y2 ?? this.y2,
);