GraphicsCommandQuadraticCurveTo constructor Null safety

GraphicsCommandQuadraticCurveTo(
  1. num controlX,
  2. num controlY,
  3. num endX,
  4. num endY
)

Implementation

GraphicsCommandQuadraticCurveTo(
    num controlX, num controlY, num endX, num endY)
    : _controlX = controlX.toDouble(),
      _controlY = controlY.toDouble(),
      _endX = endX.toDouble(),
      _endY = endY.toDouble();