HttpOptionalConfig class

Constructors

HttpOptionalConfig({String? baseURL, Map<String, String>? headers, Duration? timeout, CachePolicy? cachePolicy, bool? logURL, bool? logRequestHeader, bool? logRespondHeader, bool? logRespondBody, bool? sendDebugId, bool? enableAuthLock})

Properties

baseURL String?
getter/setter pair
cachePolicy CachePolicy?
getter/setter pair
enableAuthLock bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
getter/setter pair
logRequestHeader bool?
getter/setter pair
logRespondBody bool?
getter/setter pair
logRespondHeader bool?
getter/setter pair
logURL bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendDebugId bool?
getter/setter pair
timeout Duration?
getter/setter pair

Methods

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 ==(Object other) bool
The equality operator.
inherited