drawBarcode method

  1. @override
void drawBarcode(
  1. String str,
  2. int align,
  3. int type
)
override

Implementation

@override
void drawBarcode(String str, int align, int type) {
  var map = HashMap<String, Object>();
  map["data"] = str;
  map["align"] = align;
  map["type"] = type;
  methodChannel.invokeMethod("drawBarcode", map);
}