class Archivos { Archivos({ this.result, this.response, this.message, }); List? result; bool? response; String? message; factory Archivos.fromJson(Map json) => Archivos( result: List.from(json["result"].map((x) => Result.fromJson(x))), response: json["response"], message: json["message"], ); Map toJson() => { "result": List.from(result!.map((x) => x.toJson())), "response": response, "message": message, }; } class Result { Result({ this.idpr, this.subm, this.modelo, this.archCad, this.archZip, this.archFich, this.archOtr, }); String? idpr; String? subm; String? modelo; String? archCad; String? archZip; String? archFich; String? archOtr; factory Result.fromJson(Map json) => Result( idpr: json["IDPR"], subm: json["SUBM"], modelo: json["MODELO"], archCad: json["ARCH_CAD"] == null ? null : json["ARCH_CAD"], archZip: json["ARCH_ZIP"] == null ? null : json["ARCH_ZIP"], archFich: json["ARCH_FICH"] == null ? null : json["ARCH_FICH"], archOtr: json["ARCH_OTR"] == null ? null : json["ARCH_OTR"], ); Map toJson() => { "IDPR": idpr, "SUBM": subm, "MODELO": modelo, "ARCH_CAD": archCad == null ? null : archCad, "ARCH_ZIP": archZip == null ? null : archZip, "ARCH_FICH": archFich == null ? null : archFich, "ARCH_OTR": archOtr == null ? null : archOtr, }; }