disconnectAllConnectedDevices method
A convenient method for disconnecting all connected devices.
Implementation
Future<void> disconnectAllConnectedDevices() async {
for (var device in connectedDevices) {
device.disconnect();
}
}
A convenient method for disconnecting all connected devices.
Future<void> disconnectAllConnectedDevices() async {
for (var device in connectedDevices) {
device.disconnect();
}
}