setCallbackReceivedMessage method
Sets callbackReceivedMessage callback that executes every time a device receives a message.
Implementation
void setCallbackReceivedMessage(
String callbackId, Function(Device) callbackReceivedMessage) {
this.callbackReceivedMessage[callbackId] = callbackReceivedMessage;
}