disconnectFromEndpoint method

Future<void> disconnectFromEndpoint(
  1. String endpointId
)

Disconnect from Endpoints

Disconnects the connections to given endPointId this will call the onDisconnected method on callbacks of connected endPoint

Implementation

Future<void> disconnectFromEndpoint(String endpointId) async {
  await _channel.invokeMethod(
      'disconnectFromEndpoint', <String, dynamic>{'endpointId': endpointId});
}