getBarcodeBmp method

  1. @override
Future<Uint8List?> getBarcodeBmp(
  1. String data,
  2. int barcodeFormat,
  3. int errorCorrectionLevel,
  4. int width,
  5. int height,
)
override

Implementation

@override
Future<Uint8List?> getBarcodeBmp(String data, int barcodeFormat,
    int errorCorrectionLevel, int width, int height) async {
  var methodName = 'getBarcodeBmp';
  var params = {
    'data': data,
    "barcodeFormat": barcodeFormat,
    "errorCorrectionLevel": errorCorrectionLevel,
    "width": width,
    "height": height
  };
  return await methodChannel.invokeMethod<Uint8List>(methodName, params);
}