getLicenseStatusInternal static method
Returns the current license status of the Scanbot SDK.
Implementation
static Future<SdkLicenseStatus> getLicenseStatusInternal(
MethodChannel channel) async {
try {
var licenseStatus = await channel.invokeMethod('getLicenseStatus', {});
var json = jsonDecode(licenseStatus);
return SdkLicenseStatus.fromJson(json);
} catch (e) {
Logger.root.severe(e);
rethrow;
}
}