PNetworkOptionsImpl constructor
PNetworkOptionsImpl({
- required String baseUrl,
- String? baseUrlAsset,
- String? baseUrlGeotracking,
- String? mqttUrl,
- int? mqttPort,
- dynamic errorInterceptor(
- DioException
- dynamic errorDisconnectCallback()?,
- 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,
- String? responsePrefixMsg(
- Response? response
- bool responseIsSuccess(
- NetworkResponse response
Implementation
PNetworkOptionsImpl({
required super.baseUrl,
super.baseUrlAsset,
super.baseUrlGeotracking,
super.mqttUrl,
super.mqttPort,
this.errorInterceptor,
this.errorDisconnectCallback,
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.responsePrefixMsg,
this.responseIsSuccess,
});