userUpdate static method

dynamic userUpdate(
  1. String userId
)

Updates the current user identifier for session tracking.

userId The unique identifier for the user.

Implementation

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