addLine method

void addLine(
  1. PaintLine line
)

Implementation

void addLine(
  PaintLine line,
) {
  state = [...state, line];
}