LinkFivePlan.fromJson constructor

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

Implementation

factory LinkFivePlan.fromJson(Map<String, dynamic> json) => LinkFivePlan(
    productId: json["productId"],
    planId: json["planId"],
    rootId: json["rootId"],
    purchaseDate: DateTime.parse(json["purchaseDate"]),
    endDate: DateTime.parse(json["endDate"]),
    storeType: json["storeType"],
    customerUserId: json["customerUserId"],
    isTrial: json["isTrial"],
    familyName: json["familyName"],
    attributes: json["attributes"],
    duration: json["duration"]);