printRawData static method

Future<void> printRawData(
  1. Uint8List data
)

printRawData

With this method you can print a raw data, or a data that was made with some esc/pos package to simplify your calls *This is good if you have another print method that give you a List<int> that you can convert to esc/pos here

Implementation

static Future<void> printRawData(Uint8List data) async {
  Map<String, dynamic> arguments = <String, dynamic>{"data": data};
  await _channel.invokeMethod("RAW_DATA", arguments);
}