removeDevice method
void
removeDevice(
- String deviceIndex
)
Implementation
void removeDevice(String deviceIndex) {
bcDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
beDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
bgDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
bpDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
btDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
ddDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
msDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
ocDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
prDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
ziDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
zlDevices.removeWhere((element) => element.deviceIndex == deviceIndex);
}