logJoinGroup method

Future<void> logJoinGroup({
  1. required String groupId,
  2. Map<String, Object>? parameters,
  3. AnalyticsCallOptions? callOptions,
})

Logs the standard join_group event.

Log this event when a user joins a group such as a guild, team or family. Use this event to analyze how popular certain groups or social features are in your app.

See: https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event.html#JOIN_GROUP

Implementation

Future<void> logJoinGroup({
  required String groupId,
  Map<String, Object>? parameters,
  AnalyticsCallOptions? callOptions,
}) {
  _assertParameterTypesAreCorrect(parameters);

  return _delegate.logEvent(
    name: 'join_group',
    parameters: filterOutNulls(<String, Object?>{
      _GROUP_ID: groupId,
      if (parameters != null) ...parameters,
    }),
    callOptions: callOptions,
  );
}