# deleteAllDocuments method

Future<ResultWrapper> deleteAllDocuments()

Delete all documents.

## Implementation

    Future<ResultWrapper> deleteAllDocuments() async {
      try {
        var result = await SharedCalls.invoke(
            ScanbotSdk.channel, 'deleteAllDocuments', {});

        return ResultWrapper.fromJson(jsonDecode(result));
      } catch (e) {
        Logger.root.severe(e);
        return ResultWrapper.error(e.toString());
      }
    }