# startCheckScanner static method

Future<ResultWrapper<CheckScanningResult>> startCheckScanner(

1. CheckScannerScreenConfiguration config

)

Starts the Check Scanner screen with the specified `config`.

Returns a CheckScanningResult wrapped in ResultWrapper.

## Implementation

    static Future<ResultWrapper<CheckScanningResult>> startCheckScanner(
        CheckScannerScreenConfiguration config) async {
      try {
        var result =
            await _channel.invokeMethod('startCheckScanner', config.toJson());
        return ResultWrapper.fromJson(jsonDecode(result),
            fromJsonT: (data) =>
                CheckScanningResult.fromJson(data as Map<String, dynamic>));
      } on PlatformException catch (e) {
        Logger.root.severe(e);
        return ResultWrapper.error(e.message ?? 'Unknown platform error');
      } on Exception catch (e) {
        return ResultWrapper.error(e.toString());
      }
    }