identifyGroup method

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

Implementation

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

  return await _identifyNullableGroup(
    userId: userId,
    groupId: groupId,
    traits: traits,
    methodCall: "identifyGroup()",
  );
}