curveToString function

String? curveToString(
  1. Curve curve
)

Converts a Curve constant to its string name.

Returns null for custom curves that are not part of Curves.

Implementation

String? curveToString(Curve curve) => _namesByCurve[curve];