1. override
void updateContext(GraphicsContext context)

Source

@override
void updateContext(GraphicsContext context) {
  context.quadraticCurveTo(controlX, controlY, endX, endY);
}