PricingPhaseAndroid.fromJson constructor

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

Implementation

factory PricingPhaseAndroid.fromJson(Map<String, dynamic> json) {
  return PricingPhaseAndroid(
    billingCycleCount: json['billingCycleCount'] as int,
    billingPeriod: json['billingPeriod'] as String,
    formattedPrice: json['formattedPrice'] as String,
    priceAmountMicros: json['priceAmountMicros'] as String,
    priceCurrencyCode: json['priceCurrencyCode'] as String,
    recurrenceMode: json['recurrenceMode'] as int,
  );
}