logSetCheckoutOption method

  1. @Deprecated('logSetCheckoutOption() has been deprecated.')
Future<void> logSetCheckoutOption({
  1. required int checkoutStep,
  2. required String checkoutOption,
  3. Map<String, Object>? parameters,
})
inherited

Logs the standard set_checkout_option event. This event has been deprecated and is unsupported in updated Enhanced Ecommerce reports. See: https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event.html#SET_CHECKOUT_OPTION

Implementation

@Deprecated('logSetCheckoutOption() has been deprecated.')
Future<void> logSetCheckoutOption({
  required int checkoutStep,
  required String checkoutOption,
  Map<String, Object>? parameters,
}) {
  _assertParameterTypesAreCorrect(parameters);

  return _delegate.logEvent(
    name: 'set_checkout_option',
    parameters: filterOutNulls(<String, Object?>{
      _CHECKOUT_STEP: checkoutStep,
      _CHECKOUT_OPTION: checkoutOption,
      if (parameters != null) ...parameters,
    }),
  );
}