| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- class Archivos {
- Archivos({
- this.result,
- this.response,
- this.message,
- });
- List<Result>? result;
- bool? response;
- String? message;
- factory Archivos.fromJson(Map<String, dynamic> json) => Archivos(
- result: List<Result>.from(json["result"].map((x) => Result.fromJson(x))),
- response: json["response"],
- message: json["message"],
- );
- Map<String, dynamic> toJson() => {
- "result": List<dynamic>.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<String, dynamic> 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<String, dynamic> 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,
- };
- }
|