setLicense method

  1. @override
Future<void> setLicense(
  1. String license
)
override

Sets the Cobrowse license (available via the web dashboard).

Implementation

@override
Future<void> setLicense(String license) async {
  try {
    await methodChannel.invokeMethod('setLicense', license);
  } on PlatformException catch (e) {
    print('Cannot set license: $e');
  }
}