runningTunnelNames method

  1. @override
Future<String?> runningTunnelNames()
override

Implementation of the method runningTunnelNames using the PlatformChannel.

Implementation

@override
Future<String?> runningTunnelNames() async {
  try {
    final result = await methodChannel.invokeMethod('getTunnelNames');
    return result;
  } on PlatformException catch (e) {
    throw ConnectionException(message: e.message ?? '');
  }
}