imgScan static method

Future<String?> imgScan(
  1. String path
)

Implementation

static Future<String?> imgScan(String path) async {
  try {
    final rest = await _channel.invokeMethod("imgQrCode", {"file": path});
    return rest;
  } catch (e) {
    print(e);
    return null;
  }
}