printQRCode method Null safety

void printQRCode(
  1. String text,
  2. int height,
  3. int width,
  4. int position
)

Implementation

void printQRCode(String text, int height, int width, int position) async {
  await _platform.invokeMethod('printQRCode', {"text": text, "height": height, "width": width});
}