unsetCallbackReceivedMessageForDevice method
void
unsetCallbackReceivedMessageForDevice(})
Unsets a received message callback for a given Device endpointId
Implementation
void unsetCallbackReceivedMessageForDevice(String endpointId,
{String callbackName = "ConnectionsManager:receivedMessageForDevice"}) {
Device? device = _findDevice(connectedDevices, endpointId);
if (device != null) {
device.unsetCallbackReceivedMessage(callbackName);
}
}