$SkuDetailsEntityToJson function

Map<String, dynamic> $SkuDetailsEntityToJson(
  1. SkuDetailsEntity entity
)

Implementation

Map<String, dynamic> $SkuDetailsEntityToJson(SkuDetailsEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['productId'] = entity.productId;
	data['type'] = entity.type;
	data['title'] = entity.title;
	data['name'] = entity.name;
	data['description'] = entity.description;
	data['price'] = entity.price;
	data['price_amount_micros'] = entity.priceAmountMicros;
	data['price_currency_code'] = entity.priceCurrencyCode;
	data['subscriptionPeriod'] = entity.subscriptionPeriod;
	data['freeTrialPeriod'] = entity.freeTrialPeriod;
	data['skuDetailsToken'] = entity.skuDetailsToken;
	return data;
}