enablePurchaseWithProductId method

Future<void> enablePurchaseWithProductId(
  1. String productId
)

Implementation

Future<void> enablePurchaseWithProductId(String productId) async {
  final model = FastInAppPurchase(productId: productId, enabled: true);

  return persistPurchase(model);
}