iq/lib/app/modules/LiveData/models/livedata.dart

22 lines
334 B
Dart
Raw Permalink Normal View History

2023-09-11 12:11:35 +00:00
class LiveData {
LiveData({
this.time,
this.rxRate,
this.rx,
this.tx,
this.txRate,
});
int? time;
int? rxRate;
int? rx;
int? tx;
int? txRate;
LiveData.fromJson(Map<String, dynamic> json) {
rx = json['rx'];
rxRate = json['rx_rate'];
tx = json['tx'];
txRate = json['tx_rate'];
}
}