initSDK method

  1. @override
Future<bool> initSDK(
  1. String licenseKey
)
override

Implementation

@override
Future<bool> initSDK(String licenseKey) {
  //return false if value is null
  return methodChannel.invokeMethod<bool>('initSDK',
      {'licenseKey': licenseKey}).then<bool>((bool? value) => value ?? false);
}