PNetworkOptionsImpl constructor

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