power_clamp_functionality

This commit is contained in:
mohammad
2024-10-24 15:03:19 +03:00
parent e01ed33b17
commit 9b4e687e9a
6 changed files with 981 additions and 273 deletions

View File

@ -0,0 +1,23 @@
class EventDevice {
final String? code;
final DateTime? eventTime;
final String? value;
EventDevice({
this.code,
this.eventTime,
this.value,
});
EventDevice.fromJson(Map<String, dynamic> json)
: code = json['code'] as String?,
eventTime = json['eventTime'] ,
value = json['value'] as String?;
Map<String, dynamic> toJson() => {
'code': code,
'eventTime': eventTime,
'value': value,
};
}