PNetworkOptionsImpl constructor

PNetworkOptionsImpl({
  1. required String baseUrl,
  2. String? baseUrlAsset,
  3. String? baseUrlGeotracking,
  4. String? mqttUrl,
  5. int? mqttPort,
  6. dynamic errorInterceptor(
    1. DioException
    )?,
  7. dynamic errorDisconnectCallback()?,
  8. bool loggingEnable = true,
  9. bool loggingrequestHeader = false,
  10. bool loggingrequestBody = true,
  11. bool loggingresponseBody = true,
  12. bool loggingresponseHeader = false,
  13. bool loggingerror = true,
  14. bool loggingcompact = true,
  15. int loggingmaxWidth = 120,
  16. String? responsePrefixData,
  17. String? responsePrefixMsg(
    1. Response? response
    )?,
  18. bool responseIsSuccess(
    1. 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,
});