getLicenseStatusInternal static method

Future<SdkLicenseStatus> getLicenseStatusInternal(
  1. MethodChannel channel
)

Implementation

static Future<SdkLicenseStatus> getLicenseStatusInternal(
    MethodChannel channel) async {
  try {
    final result = await channel.invokeMethod('getLicenseStatus');
    return SdkLicenseStatus.fromJson(jsonDecode(result));
  } catch (e) {
    Logger.root.severe(e);
    rethrow;
  }
}