print static method
Print to the first connected bluetooth printer
Implementation
static Future<String?> print(
String text, {
int? width,
String? ipAddress,
}) async {
final String? version = await _channel.invokeMethod('print', {
"text": text,
if (ipAddress != null) "ip_address": ipAddress,
if (width != null) "width": width,
});
return version;
}