setVisitorUserId method
Sets the User ID.
This should not be confused with the visitorId
of the initialize
call (which corresponds with the _id
parameter).
Implementation
void setVisitorUserId(String? uid) {
_initializationCheck();
_visitor = Visitor(
id: _visitor.id,
uid: uid,
);
}