idendifyUser method

void idendifyUser(
  1. String? userId
)

Identifies the user with the provided userId.

This is used to identify the user in the AppFit dashboard. If the userId is null, the user will be un-identified, resulting in the user being anonymous.

Implementation

void idendifyUser(String? userId) async {
  await _eventDigester.identify(userId);
}