addReceiveMessageListener method

dynamic addReceiveMessageListener (
  1. JMMessageEventListener callback
)

Implementation

addReceiveMessageListener(JMMessageEventListener callback) {
  _eventHanders.receiveMessage.add(callback);
}