ContentAccess.fromJson constructor

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

Implementation

factory ContentAccess.fromJson(Map<String, dynamic> json) => ContentAccess(
      sessionExists:
          json["sessionExists"] == null ? null : json["sessionExists"],
      accessTimeLeft:
          json["accessTimeLeft"] == null ? null : json["accessTimeLeft"],
      freeAccess: json["freeAccess"] == null ? null : json["freeAccess"],
    );