confirmScanResult method

Future<void> confirmScanResult([
  1. Map<String, dynamic>? modifiedData
])

Implementation

Future<void> confirmScanResult([Map<String, dynamic>? modifiedData]) async {
  try {
    await _channel.invokeMethod('confirmScanResult', {'modifiedData': modifiedData});
  } on PlatformException catch (e) {
    log("Failed to confirm scan result: ${e.message}");
    rethrow;
  }
}