PriceTier.fromJson constructor

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

Implementation

PriceTier.fromJson(Map<String, dynamic> json)
    : tier = json['tier'],
      currency = json['currency'],
      price = json['price'],
      startDate = json['startDate'],
      endDate = json['endDate'];