setUserId method

Future<void> setUserId(
  1. String userId
)

Sets the user ID for tracking purposes.

This method allows you to set a user ID after the SDK has been initialized.

Throws an UnimplementedError if the platform-specific implementation has not been provided.

Implementation

Future<void> setUserId(String userId) {
  throw UnimplementedError('setUserId() has not been implemented.');
}