clearBuffer method

Future<bool> clearBuffer()

Clears the printer image buffer.

Implementation

Future<bool> clearBuffer() async {
  var params = {
    "printerId": _printerId,
    "printInfo": _printerInfo.toMap(),
  };

  final bool success =
      await _channel.invokeMethod("typeB-clearBuffer", params);
  return success;
}