addUserListener static method

dynamic addUserListener(
  1. String listenerId,
  2. UserListener listenerClass
)

The UserListener class provides you with live events related to users listenerId unique id for listener

Implementation

static addUserListener(String listenerId, UserListener listenerClass) {
  _userListeners[listenerId] = listenerClass;
}