cleanupStorageInternal static method

Future<void> cleanupStorageInternal(
  1. MethodChannel _channel
)

Cleanups the storage folders of the Scanbot SDK.

Implementation

static Future<void> cleanupStorageInternal(MethodChannel _channel) async {
  try {
    await _channel.invokeMethod('cleanupStorage');
  } catch (e) {
    Logger.root.severe(e);
    rethrow;
  }
}