addUserHandler method Null safety

void addUserHandler(
  1. String identifier,
  2. UserEventHandler handler
)

Implementation

void addUserHandler(String identifier, UserEventHandler handler) {
  _userHandlers[identifier] = handler;
}