SubscriptionData.fromJson constructor

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

Implementation

factory SubscriptionData.fromJson(Map<String, dynamic> json) =>
    SubscriptionData(
      amount: json["amount"],
      currency: json["currency"],
      description: json["description"],
      idClient: json["idClient"],
      interval: json["interval"],
      intervalCount: json["interval_count"],
      name: json["name"],
      trialDays: json["trialDays"],
    );