addSessionHandler method Null safety

void addSessionHandler(
  1. SessionEventHandler handler
)

Implementation

void addSessionHandler(SessionEventHandler handler) {
  _sessionHandler = handler;
}