deactivateConnection method

Future<void> deactivateConnection(
  1. NetworkManagerActiveConnection connection
)

Deactivates an active connection.

Implementation

Future<void> deactivateConnection(
    NetworkManagerActiveConnection connection) async {
  await _manager?.callMethod(
      _managerInterfaceName,
      'DeactivateConnection',
      [
        connection._object.path,
      ],
      replySignature: DBusSignature(''));
}