printImgZyWell method

  1. @override
Future<bool> printImgZyWell({
  1. String iniCommand = "",
  2. String cutterCommands = "",
  3. String img = "",
  4. String encode = "",
  5. bool isCut = false,
  6. bool isDisconnect = false,
  7. bool isDevicePOS = false,
  8. int timeout = 30,
  9. int width = 576,
})
override

Implementation

@override
Future<bool> printImgZyWell({
  String iniCommand = "",
  String cutterCommands = "",
  String img = "",
  String encode = "",
  bool isCut = false,
  bool isDisconnect = false,
  bool isDevicePOS = false,
  int timeout = 30,
  int width = 576,
}) async {
  final version =
      await methodChannel.invokeMethod('printImgZyWell', <dynamic, dynamic>{
      'iniCommand': iniCommand,
      'cutterCommands': cutterCommands,
      'img': img,
      'encode': encode,
      'isCut': isCut,
      'isDisconnect': isDisconnect,
      'isDevicePOS': isDevicePOS,
      'width': width,
  });
  return version;
}