setLicense method

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

Sets the Davoice native license.

Implementation

@override
Future<bool> setLicense(String licenseKey) async {
  return await methodChannel.invokeMethod<bool>('setLicense', {
        'licenseKey': licenseKey,
      }) ??
      false;
}