getUserHandler method Null safety

UserEventHandler? getUserHandler(
  1. String identifier
)

Implementation

UserEventHandler? getUserHandler(String identifier) {
  return _userHandlers[identifier];
}