handleError method
void
handleError(
- IAPError error
Implementation
void handleError(IAPError error) {
// ignore: avoid_print
print("Error caught: $error");
purchasePending = false;
notifyListeners();
}