writeTsplText static method
Printes the text
using bluetooth printer.
Implementation
static Future<String?> writeTsplText(String text) async {
try {
final String? result = await _channel.invokeMethod('printTsplText', text);
return result;
} on PlatformException catch (e) {
print("Failed to writeText: '${e.message}'.");
return "false";
}
}