PageRequest.fromJson constructor
Implementation
factory PageRequest.fromJson(Map<String, Object?> json) => PageRequest(
fileId: json["file_id"] == null ? null : json["file_id"] as String,
status: json["status"] == null ? null : Status.fromJson(json["status"]),
pageNumber: json["page_number"] == null
? null
: (json["page_number"] as num).toInt(),
pageSize: json["page_size"] == null
? null
: (json["page_size"] as num).toInt(),
);