print static method

  1. @Deprecated('Use sendCommands instead.')
Future print({
  1. required String portName,
  2. required String emulation,
  3. 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;
}