FFRevenueCatAction constructor

FFRevenueCatAction({
  1. FFRevenueCatPaywall? paywall,
  2. FFRevenueCatPurchase? purchase,
  3. FFRevenueCatRestore? restore,
})

Implementation

factory FFRevenueCatAction({
  FFRevenueCatPaywall? paywall,
  FFRevenueCatPurchase? purchase,
  FFRevenueCatRestore? restore,
}) {
  final result = create();
  if (paywall != null) result.paywall = paywall;
  if (purchase != null) result.purchase = purchase;
  if (restore != null) result.restore = restore;
  return result;
}