initScanbotSdk static method
Initializes the Scanbot SDK with given config
s.
The Scanbot SDK must be initialized before using any other API methods.
Implementation
static Future initScanbotSdk(ScanbotSdkConfig config) async {
try {
LicenseRegistry.addLicense(licenses);
var json = config.toJson();
await _channel.invokeMethod('initScanbotSdk', json);
} catch (e) {
Logger.root.severe(e);
rethrow;
}
}