toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "tierId": tierId == null ? null : tierId,
      "digital": digital == null ? null : digital,
      "physical": physical == null ? null : physical,
      "adFree": adFree == null ? null : adFree,
      "title": title == null ? null : title,
      "renew": renew == null ? null : renew,
      "duration": duration == null ? null : duration,
      "durationText": durationText == null ? null : durationText,
    };