SetLicenseKey static method
Sets the licenseKey
required to activate the license.
The function throws a LexActivatorException on error.
Implementation
static int SetLicenseKey({required String licenseKey}) {
int status = _lexActivatorNative.SetLicenseKey(
licenseKey,
);
if (LexStatusCodes.LA_OK != status) {
throw LexActivatorException(status);
}
return status;
}