identifyUser method

  1. @override
Future<void> identifyUser({
  1. required String userId,
  2. UserProfile? userProfile,
})

Store a userId with userProfile to be associated with current device

Implementation

@override
Future<void> identifyUser({
  required String userId,
  UserProfile? userProfile,
}) async {
  _ensureConfigured();
  await _endpointClient.setUser(userId, userProfile);
  await _endpointClient.updateEndpoint();
}