/// /// Code generated by jsonToDartModel https://ashamp.github.io/jsonToDartModel/ /// class CpuStatus { /* { "user": 0, "sys": 0, "nice": 0, "idel": 0, "wa": 0, "hi": 0, "si": 0, "st": 0 } */ late String id; late int user; late int sys; late int nice; late int idle; late int iowait; late int irq; late int softirq; CpuStatus( this.id, this.user, this.sys, this.nice, this.idle, this.iowait, this.irq, this.softirq, ); int get total => user + sys + nice + idle + iowait + irq + softirq; }