identifyUser method

Future<bool> identifyUser({
  1. required String userId,
  2. Map<String, dynamic> traits = const {},
})

Implementation

Future<bool> identifyUser({
  required String userId,
  Map<String, dynamic> traits = const {},
}) async {
  _userId = userId;
  _groupId = null;

  return await _identifyNullableUser(
    userId: userId,
    traits: traits,
    methodCall: "identifyUser()",
  );
}