setGraphicState method Null safety

void setGraphicState(
  1. PdfGraphicState state
)

Set the graphic state for drawing

Implementation

void setGraphicState(PdfGraphicState state) {
  final name = _page.stateName(state);
  _buf.putString('$name gs\n');
}