logSignUp method

Future<void> logSignUp({
  1. required String signUpMethod,
  2. Map<String, Object?>? parameters,
})

Logs the standard sign_up event.

This event indicates that a user has signed up for an account in your app. The parameter signifies the method by which the user signed up. Use this event to understand the different behaviors between logged in and logged out users.

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

Implementation

Future<void> logSignUp({
  required String signUpMethod,
  Map<String, Object?>? parameters,
}) {
  _assertParameterTypesAreCorrect(parameters);

  return _delegate.logEvent(
    name: 'sign_up',
    parameters: filterOutNulls(<String, Object?>{
      _METHOD: signUpMethod,
      if (parameters != null) ...parameters,
    }),
  );
}