ErrorData.fromJson constructor
Implementation
factory ErrorData.fromJson(Map<String, dynamic> json) {
return ErrorData(
totalErrores: json['totalerrores'],
errores: json['errores'] != null
? (json['errores'] as List)
.map((i) => ErrorDetail.fromJson(i))
.toList()
: null,
idFactura: json['idfactura'],
);
}