printText method
Sends text to the connected printer for printing.
text
: The text to be printed by the printer.
Throws an UnimplementedError if the method is not implemented by the platform.
Implementation
Future<void> printText(String text) {
throw UnimplementedError('printText() has not been implemented.');
}