group method
Associates the current user with a group.
groupId is the unique identifier for the group.
groupTraits contains additional information about the group.
options allows you to specify additional options for this call.
The group call lets you link an identified user with a group such as a company, organization, or an account.
Implementation
void group(String groupId,
{RudderTraits? groupTraits, RudderOption? options}) {
RudderSdkPlatform.instance
.group(groupId, groupTraits: groupTraits, options: options);
}