OnTrial typedef
OnTrial =
dynamic Function(BackdoorPaymentModel backdoorPaymentModel, DateTime expiryDate, DateTime? warningDate)
Callback type for handling trial periods.
This function is invoked when the application is in a trial state, providing the payment model, the trial expiry date, and an optional warning date.
Implementation
typedef OnTrial = Function(
BackdoorPaymentModel backdoorPaymentModel,
DateTime expiryDate,
DateTime? warningDate,
);