PurchaserInfoUpdateListener typedef

PurchaserInfoUpdateListener = void Function(PurchaserInfo purchaserInfo)

Used to handle async updates from Purchases. Should be implemented to receive updates when the PurchaserInfo changes.

Implementation

typedef PurchaserInfoUpdateListener = void Function(
  PurchaserInfo purchaserInfo,
);