arc method Null safety

GraphicsCommandArc arc(
  1. num x,
  2. num y,
  3. num radius,
  4. num startAngle,
  5. num endAngle,
  6. [bool antiClockwise = false]
)

Draw an arc at x and y.

Implementation

GraphicsCommandArc arc(num x, num y, num radius, num startAngle, num endAngle,
    [bool antiClockwise = false]) {
  final command =
      GraphicsCommandArc(x, y, radius, startAngle, endAngle, antiClockwise);
  addCommand(command);
  return command;
}