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