Offering constructor
const
Offering(})
Implementation
const factory Offering(
/// Unique identifier defined in RevenueCat dashboard.
String identifier,
/// Offering description defined in RevenueCat dashboard.
String serverDescription,
/// Offering metadata defined in RevenueCat dashboard.
Map<String, Object> metadata,
/// Array of [Package] objects available for purchase.
List<Package> availablePackages, {
/// Lifetime package type configured in the RevenueCat dashboard, if available.
Package? lifetime,
/// Annual package type configured in the RevenueCat dashboard, if available.
Package? annual,
/// Six month package type configured in the RevenueCat dashboard, if available.
Package? sixMonth,
/// Three month package type configured in the RevenueCat dashboard, if available.
Package? threeMonth,
/// Two month package type configured in the RevenueCat dashboard, if available.
Package? twoMonth,
/// Monthly package type configured in the RevenueCat dashboard, if available.
Package? monthly,
/// Weekly package type configured in the RevenueCat dashboard, if available.
Package? weekly,
}) = _Offering;