FFActionCondition constructor

FFActionCondition({
  1. FFVariable? variable,
  2. FFConfirmationDialogResponse? confirmationDialogResponse,
  3. FFRevenueCatEntitlementResponse? revenueCatEntitlementResponse,
})

Implementation

factory FFActionCondition({
  FFVariable? variable,
  FFConfirmationDialogResponse? confirmationDialogResponse,
  FFRevenueCatEntitlementResponse? revenueCatEntitlementResponse,
}) {
  final result = create();
  if (variable != null) result.variable = variable;
  if (confirmationDialogResponse != null)
    result.confirmationDialogResponse = confirmationDialogResponse;
  if (revenueCatEntitlementResponse != null)
    result.revenueCatEntitlementResponse = revenueCatEntitlementResponse;
  return result;
}