userUpdate static method

dynamic userUpdate(
  1. String userId
)

Updates the current user context for logging and tracking.

userId is the identifier of the logged-in user.

Implementation

static userUpdate(String userId) {
  _channel.invokeMethod(MethodNames.userUpdate, {'userId': userId});
}