Extracted dhcp to external provider

This commit is contained in:
Juan Gilsanz Polo 2023-05-24 18:22:13 +02:00
parent cd4a8aaf4f
commit 9460da6dcb
8 changed files with 83 additions and 96 deletions

View file

@ -1289,7 +1289,7 @@ Future getDhcpData({
return {
'result': 'success',
'data': DhcpData(
'data': DhcpModel(
networkInterfaces: interfaces,
dhcpStatus: DhcpStatus.fromJson(jsonDecode(result[1]['body']))
)