currentOffering method

OfferingModel? currentOffering({
  1. String? placment,
})

Resolves the offering for the current customer and optional placement.

The historical placment spelling is retained for source compatibility. This compatibility method builds its inputs from the synchronous InappifySdk snapshot. New code should use resolveOffering.

Implementation

OfferingModel? currentOffering({String? placment}) {
  return resolveOffering(
    placement: placment,
    evaluationContext: createLegacyOfferingEvaluationContext(),
  );
}