FunnelPresentResult constructor

const FunnelPresentResult({
  1. required FunnelPresentOutcome result,
  2. required bool purchased,
  3. PurchaseResult? customerInfo,
  4. RovenueException? lastError,
  5. String? reason,
  6. Map<String, FunnelPhotoRef> photos = const <String, FunnelPhotoRef>{},
  7. String answersJson = '{}',
  8. List<String> preselected = const <String>[],
})

Creates a result.

Implementation

const FunnelPresentResult({
  required this.result,
  required this.purchased,
  this.customerInfo,
  this.lastError,
  this.reason,
  this.photos = const <String, FunnelPhotoRef>{},
  this.answersJson = '{}',
  this.preselected = const <String>[],
});