ContentAccessesDtapost.fromJson constructor

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

Implementation

factory ContentAccessesDtapost.fromJson(Map<String, dynamic> json) => ContentAccessesDtapost(
  sessionExists: json["sessionExists"] == null ? null : json["sessionExists"],
  accessTimeLeft: json["accessTimeLeft"] == null ? null : json["accessTimeLeft"],
  freeAccess: json["freeAccess"] == null ? null : json["freeAccess"],
  isAdfreePurchased: json["isAdfreePurchased"] == null ? null : json["isAdfreePurchased"],
  payload:  Payload.fromJson(json["payload"]),
  consumptionId: json["consumptionId"] == null ? null : json["consumptionId"],
  signature: json["signature"] == null ? null : json["signature"],
  downloadExists: json["downloadExists"] == null ? null : json["downloadExists"],
);