mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Bugs fixed
This commit is contained in:
parent
c1950fdc2b
commit
1ea71265e2
6 changed files with 54 additions and 36 deletions
|
@ -76,7 +76,7 @@ class DhcpStatus {
|
|||
v6: json["v6"] != null ? IpVersion.fromJson(json["v6"]) : null,
|
||||
leases: List<Lease>.from(json["leases"].map((x) => Lease.fromJson(x))),
|
||||
staticLeases: List<Lease>.from(json["static_leases"].map((x) => Lease.fromJson(x))),
|
||||
enabled: json["enabled"],
|
||||
enabled: json["enabled"] ?? false,
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue