identify abstract method

Future<void> identify({
  1. required String userIdentifier,
})

Sets the identity of the current user.

Only works for Product Analytics. If an identity has already been set and the identity passed into this method is different from the set identity, then this method will start a new session, set a new user ID, and set the new identity.

The userIdentifier should be a string that is max 100 characters long.

Implementation

Future<void> identify({required String userIdentifier});