paperSize static method

Future<int> paperSize()

paperSize

Get the paper size , because they can change the printers between 56 and 80mm

Implementation

static Future<int> paperSize() async {
  int? _size = await _channel.invokeMethod("PAPER_SIZE");
  return _paperize[_size ?? 0];
}