PNetworkOptionsImpl constructor
PNetworkOptionsImpl({
- required String baseUrl,
- required String baseUrlAsset,
- String? mqttUrl,
- int? mqttPort,
- dynamic errorInterceptor(
- DioException
- bool loggingEnable = true,
- bool loggingrequestHeader = false,
- bool loggingrequestBody = true,
- bool loggingresponseBody = true,
- bool loggingresponseHeader = false,
- bool loggingerror = true,
- bool loggingcompact = true,
- int loggingmaxWidth = 120,
- String? responsePrefixData,
- bool responseIsSuccess(
- NetworkResponse response
Implementation
PNetworkOptionsImpl({
required super.baseUrl,
required super.baseUrlAsset,
super.mqttUrl,
super.mqttPort,
this.errorInterceptor,
this.loggingEnable = true,
this.loggingrequestHeader = false,
this.loggingrequestBody = true,
this.loggingresponseBody = true,
this.loggingresponseHeader = false,
this.loggingerror = true,
this.loggingcompact = true,
this.loggingmaxWidth = 120,
this.responsePrefixData,
this.responseIsSuccess,
});