Plan.fromJson constructor
Implementation
Plan.fromJson(Map<String, dynamic> json) {
gid = json["gid"];
currency =
json["currency"] != null ? Currency.fromJson(json["currency"]) : null;
name = json["name"];
amount = json["amount"];
description = json["description"];
currencyCode = json["currencyCode"];
billingFrequency = json["billingFrequency"];
billingPeriod = json["billingPeriod"];
}