Curve typedef Null safety

Curve = CubicCurve

Implementation

typedef Curve = CubicCurve;