PNetworkOptionsImpl class

Inheritance
  • Object
  • PNetworkOptions
  • PNetworkOptionsImpl

Constructors

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)?})

Properties

baseUrl String
finalinherited
baseUrlAsset String?
finalinherited
baseUrlGeotracking String?
finalinherited
errorDisconnectCallback → (dynamic Function()?)
final
errorInterceptor → (dynamic Function(DioException)?)
final
hashCode int
The hash code for this object.
no setterinherited
loggingcompact bool
final
loggingEnable bool
final
loggingerror bool
final
loggingmaxWidth int
final
loggingrequestBody bool
final
loggingrequestHeader bool
final
loggingresponseBody bool
final
loggingresponseHeader bool
final
mqttPort int?
finalinherited
mqttUrl String?
finalinherited
responseIsSuccess → (bool Function(NetworkResponse response)?)
final
responsePrefixData String?
final
responsePrefixMsg → (String? Function(Response? response)?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

appImageCorrectUrl(String url, {dynamic base}) String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant PNetworkOptions other) bool
The equality operator.
inherited