getLicenseStatus static method

Future<SdkLicenseStatus> getLicenseStatus()

Returns the current license status of the Scanbot SDK.

Implementation

static Future<SdkLicenseStatus> getLicenseStatus() async {
  try {
    var licenseStatus = await _channel.invokeMethod('getLicenseStatus', {});
    var json = jsonDecode(licenseStatus);
    return SdkLicenseStatus.fromJson(json);
  } catch (e) {
    Logger.root.severe(e);
    rethrow;
  }
}