AiutaAnalyticsTryOnEvent constructor

AiutaAnalyticsTryOnEvent({
  1. required AiutaAnalyticsTryOnEventType event,
  2. required AiutaAnalyticsPageId pageId,
  3. required List<String> productIds,
  4. AiutaAnalyticsTryOnEventErrorType? errorType,
  5. String? errorMessage,
  6. AiutaAnalyticsTryOnAbortedReasonType? abortReason,
  7. double? uploadDuration,
  8. double? tryOnDuration,
  9. double? downloadDuration,
  10. double? totalDuration,
})

Creates a try-on event.

Implementation

AiutaAnalyticsTryOnEvent({
  required this.event,
  required this.pageId,
  required List<String> productIds,
  this.errorType,
  this.errorMessage,
  this.abortReason,
  this.uploadDuration,
  this.tryOnDuration,
  this.downloadDuration,
  this.totalDuration,
}) : super(
        type: AiutaAnalyticsEventType.picker,
        pageId: pageId,
        productIds: productIds,
      );