logAddShippingInfo method
Future<void>
logAddShippingInfo({
- String? coupon,
- String? currency,
- double? value,
- String? shippingTier,
- List<
AnalyticsEventItem> ? items, - Map<
String, Object?> ? parameters, - AnalyticsCallOptions? callOptions,
Logs the standard add_shipping_info
event.
This event signifies that a user has submitted their shipping information to your app.
Implementation
Future<void> logAddShippingInfo({
String? coupon,
String? currency,
double? value,
String? shippingTier,
List<AnalyticsEventItem>? items,
Map<String, Object?>? parameters,
AnalyticsCallOptions? callOptions,
}) {
_assertParameterTypesAreCorrect(parameters);
_assertItemsParameterTypesAreCorrect(items);
return _delegate.logEvent(
name: 'add_shipping_info',
parameters: filterOutNulls({
_COUPON: coupon,
_CURRENCY: currency,
_SHIPPING_TIER: shippingTier,
_VALUE: value,
_ITEMS: _marshalItems(items),
if (parameters != null) ...parameters,
}),
callOptions: callOptions,
);
}