auth method

void auth(
  1. String userId
)

Set the user id and add this id to all events

Implementation

void auth(String userId) {
  _userId = userId;
}