setUserId method

Future<void> setUserId(
  1. String? userId
)

Sets the business user ID to the string.

Implementation

Future<void> setUserId(String? userId) async {
  await Snowplow.setUserId(userId, tracker: namespace);
}