mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Extracted dhcp to external provider
This commit is contained in:
parent
cd4a8aaf4f
commit
9460da6dcb
8 changed files with 83 additions and 96 deletions
|
@ -1,20 +1,9 @@
|
|||
import 'dart:convert';
|
||||
|
||||
class DhcpModel {
|
||||
int loadStatus = 0;
|
||||
DhcpData? data;
|
||||
|
||||
DhcpModel({
|
||||
required this.loadStatus,
|
||||
this.data,
|
||||
});
|
||||
}
|
||||
|
||||
class DhcpData {
|
||||
List<NetworkInterface> networkInterfaces;
|
||||
DhcpStatus dhcpStatus;
|
||||
|
||||
DhcpData({
|
||||
DhcpModel({
|
||||
required this.networkInterfaces,
|
||||
required this.dhcpStatus,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue