Add countdown functionality and device type support across device management views

This commit is contained in:
mohammad
2025-06-30 15:05:59 +03:00
parent cf4bfc41f6
commit 289922071a
21 changed files with 292 additions and 179 deletions

View File

@ -60,4 +60,13 @@ class Status {
factory Status.fromJson(String source) => Status.fromMap(json.decode(source));
String toJson() => json.encode(toMap());
Status copyWith({
String? code,
dynamic value,
}) {
return Status(
code: code ?? this.code,
value: value ?? this.value,
);
}
}