license method

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

Returns the previously set Cobrowse license.

Implementation

@override
Future<String> license() async {
  String? rvalue;
  try {
    rvalue = await methodChannel.invokeMethod<String>('license');
  } on PlatformException catch (e) {
    print('Cannot get license: $e');
  }
  return rvalue ?? '';
}