setCallbackDisconnectedDevice method
void
setCallbackDisconnectedDevice()
Sets callbackDisconnectedDevice that executes every time a device is disconnected
Implementation
void setCallbackDisconnectedDevice(
String callbackId, Function(Device) callbackDisconnectedDevice) {
this.callbackDisconnectedDevice[callbackId] = callbackDisconnectedDevice;
}