register method

void register(
  1. void sendEvent(
    1. XmppEvent
    )
)

Internal function. Registers functions from the RosterManger against this instance.

Implementation

void register(void Function(XmppEvent) sendEvent) {
  _sendEvent = sendEvent;
}