print static method
- @Deprecated('Use sendCommands instead.')
- required String portName,
- required String emulation,
- required PrintCommands printCommands,
sends commands to printer to run
Implementation
@Deprecated('Use sendCommands instead.')
static Future<dynamic> print({
required String portName,
required String emulation,
required PrintCommands printCommands,
}) async {
dynamic result = await _channel.invokeMethod('print', {
'portName': portName,
'emulation': emulation,
'printCommands': printCommands.getCommands(),
});
return result;
}