CustomDioOptions class

Constructors

CustomDioOptions({Map<String, String>? headers, bool isProductionMode = true, bool followRedirects = true, String? errorPath, required String baseUrl, HttpClientAdapter? adapter, List<Interceptor> interceptorsList = const [], int sendTimeout = 15000, int receiveTimeout = 15000, int connectTimeout = 15000, bool logAllData = false})

Properties

adapter ↔ HttpClientAdapter?
getter/setter pair
baseUrl String
final
connectTimeout int
getter/setter pair
errorPath String?
final
followRedirects bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
getter/setter pair
interceptorsList List<Interceptor>
getter/setter pair
isProductionMode bool
getter/setter pair
logAllData bool
getter/setter pair
receiveTimeout int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeout int
getter/setter pair

Methods

copyWith({Map<String, String>? headers, bool? followRedirects, bool? isProductionMode, String? baseUrl, String? errorPath, HttpClientAdapter? adapter, int? sendTimeout, List<Interceptor>? interceptorsList, int? receiveTimeout, int? connectTimeout, bool? logAllData}) CustomDioOptions
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