beginPath method Null safety

GraphicsCommandBeginPath beginPath()

Start drawing a freeform path.

Implementation

GraphicsCommandBeginPath beginPath() {
  final command = GraphicsCommandBeginPath();
  addCommand(command);
  return command;
}