setLicenceKey method

Future<void> setLicenceKey (String licenceKey)

Sets the licence key of the SDK

Returns a Future that is resolved if the licence key is valid and rejected if it is not. Note that, for testing purpose, you can also use the plugin without a licence key, but it will only work for 60 seconds.

Implementation

static Future<void> setLicenceKey(String licenceKey) async {
  await _channel.invokeMethod('setLicenceKey', licenceKey);
}