initializeScanner static method

Future<String> initializeScanner()

Initialize the DataWedge scanner

Implementation

static Future<String> initializeScanner() async {
  try {
    final String result = await _channel.invokeMethod('initializeScanner');
    return result;
  } on PlatformException catch (e) {
    throw Exception('Failed to initialize scanner: ${e.message}');
  }
}