printBarCodeToBitmapFormat method

  1. @override
Future<void> printBarCodeToBitmapFormat(
  1. String barCodeContent,
  2. int width,
  3. int height,
  4. IminBarCodeToBitmapFormat codeFormat,
)
override

Implementation

@override
Future<void> printBarCodeToBitmapFormat(String barCodeContent, int width,
    int height, IminBarCodeToBitmapFormat codeFormat) async {
  Map<String, dynamic> arguments = <String, dynamic>{
    "data": barCodeContent,
    "width": width,
    "height": height,
    "codeFormat": codeFormat.index
  };
  await methodChannel.invokeMethod<void>(
      'printBarCodeToBitmapFormat', arguments);
}