submitApiCall method
Implementation
@override
Future<void> submitApiCall(Map<String, dynamic> data) async {
LanConfig? newConfig = LanConfig.fromJson(formData);
await LogbotSetupApiManager.network
.setLanConfig(newConfig!, uuidToken: LogbotSetupEnv().deviceId);
await Future.delayed(Duration(seconds: LogbotSetupEnv.submitDelay));
widget.onSuccess();
}