FlippedCurve constructor Null safety

const FlippedCurve(
  1. Curve curve
)

Creates a flipped curve.

The curve argument must not be null.

Implementation

const FlippedCurve(this.curve) : assert(curve != null);