ContentAccesses.fromJson constructor

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

Implementation

factory ContentAccesses.fromJson(Map<String, dynamic> json) => ContentAccesses(
  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:  json["payload"] == null ? null : json["payload"],
  consumptionId: json["consumptionId"] == null ? null : json["consumptionId"],
  signature: json["signature"] == null ? null : json["signature"],
  downloadExists: json["downloadExists"] == null ? null : json["downloadExists"],
);