printText static method
Prints the given text to the receipt, font and methods relating to other settings must be called before this method
Implementation
static Future<void> printText(String text) async {
final args = <String, dynamic>{"text": '$text\n'};
await _channel.invokeMethod(commandPrintText, args);
}