unlockWithLicense static method

Future<void> unlockWithLicense(
  1. String path
)

Unlocks the SDK with a license file from the assets. The path input should be a relative path to the license file(s) as specified in your pubspec.yaml file. If you want to unlock the SDK for both iOS and Android, you need to include one license for each platform with the same name, but where the iOS license has .ios as its file extension and the Android license has .android as its file extension.

Implementation

static Future<void> unlockWithLicense(String path) async {
  return _channel.invokeMethod('unlock', <String, dynamic>{'license': path});
}