initApiCall method
Implementation
@override
Future<bool> initApiCall() async {
if (!widget.isVisible) {
return false;
}
LanConfig? response = await LogbotSetupApiManager.network
.getLanConfig(uuidToken: LogbotSetupEnv().deviceId);
formData = {
"ipv4": {
"address": response?.ipv4?.address ?? "",
"prefix": response?.ipv4?.prefix ?? 24,
}
};
return true;
}