setUser method

Future<void> setUser(
  1. String? userId, [
  2. String? groupId
])

Specify a user identifier which will be used to identify the user in the future. We recommend you use a unique userID.

  • Warning: To protect users privacy, please do not pass any personally identifiable information to this method. @param userId String

Implementation

/// - Warning:
/// To protect users privacy, please do not pass any personally identifiable information to this method.

/// @param userId String

Future<void> setUser(String? userId, [String? groupId]) {
  return AppticsFlutterPlatform.instance.setUser(userId, groupId);
}