RequestConfig class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addInterceptor(Interceptor interceptor) RequestConfig
getBaseUrl() String
getConnectTimeout() → dynamic
getHeaders() Map<String, dynamic>?
getInterceptors() Iterable<Interceptor>
getIsOpenDefaultInterceptor() bool
getReceiveTimeout() → dynamic
getSendTimeout() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDefaultInterceptor(bool isOpen) RequestConfig
setBaseUrl(String baseUrl) RequestConfig
setConnectTimeout(int connectTimeout) RequestConfig
setHeaders(Map<String, dynamic> headers) RequestConfig
setReceiveTimeout(int receiveTimeout) RequestConfig
setSendTimeout(int sendTimeout) RequestConfig
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getInstance() RequestConfig