printRow static method
Prints a row of text
Implementation
static Future<void> printRow(
List<String> texts,
List<int> width,
List<SunmiPrintAlign> align,
) async {
final args = <String, dynamic>{
"texts": jsonEncode(texts),
"width": width.join(","),
"align": align.map((e) => e.index).join(","),
};
await _channel.invokeMethod(commandPrintRow, args);
}