addReceiveMessageListener method

dynamic addReceiveMessageListener (JMMessageEventListener callback)

Implementation

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