Tspl constructor Null safety

Tspl(
  1. int width,
  2. int height
)

Implementation

factory Tspl(int width, int height) => Tspl._internal()
  ..addString("SIZE $width mm,$height mm\r\n")
  ..clearPrinterBuffer();