groupIdentify method
Use the Group Identify API to set or update properties of particular groups. However, these updates will only affect events going forward.
Implementation
Future<void> groupIdentify(
String groupType, String groupName, Identify groupIdentify,
{bool outOfSession = false}) async {
Map<String, dynamic> properties = _baseProperties();
properties['groupType'] = groupType;
properties['groupName'] = groupName;
properties['userProperties'] = groupIdentify.payload;
properties['outOfSession'] = outOfSession;
return await _channel.invokeMethod('groupIdentify', jsonEncode(properties));
}