disconnectAll method

Future<void> disconnectAll()

Disconnects all NWC connections

Implementation

Future<void> disconnectAll() async {
  await Future.wait(_connections.map(disconnect));
}