# startFinerDocumentScanner static method

Future<FinderDocumentScanningResult> startFinerDocumentScanner(

1. FinderDocumentScannerConfiguration config

)

## Implementation

    static Future<FinderDocumentScanningResult> startFinerDocumentScanner(
        FinderDocumentScannerConfiguration config) async {
      try {
        var updatedParameters = config.toJson();
        const defaultJsonName = "FinderDocumentScreen";
        var configuration = await SharedCalls.applyParametersOnDefaultJson(
            defaultJsonName, updatedParameters);

        var result = await SharedCalls.invoke(
            _channel, 'startFinderDocumentScanner', configuration);
        if (SharedCalls.wasCanceled(result)) {
          return FinderDocumentScanningResult.canceled();
        }
        return FinderDocumentScanningResult.fromJson(jsonDecode(result));
      } catch (e) {
        Logger.root.severe(e);
        return FinderDocumentScanningResult.error(e.toString());
      }
    }