FastInAppPurchase.fromJson constructor

FastInAppPurchase.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FastInAppPurchase.fromJson(Map<String, dynamic> json) {
  return FastInAppPurchase(
    enabled: json['enabled'] as bool,
    productId: json['id'] as String,
  );
}