setUserId static method

Future<void> setUserId(
  1. String userId
)

Associates a host user identifier with the current install.

The identifier is persisted and attached to analytics events captured after this call. Use clearUserId to remove it.

Implementation

static Future<void> setUserId(String userId) {
  return DigiaInstance.instance.setUserId(userId);
}