curve property Null safety

Curve? curve
final

Implementation

final Curve? curve;