BaseHttpClient class abstract

Inheritance
Implementers

Constructors

BaseHttpClient({BaseOptions? baseOptions, List<Interceptor>? interceptors, bool useLogInterceptor = true, bool cached = false, int? requestSendTimeout, int? requestReceiveTimeout})

Properties

hashCode int
The hash code for this object.
no setterinherited
http → Dio
no setter
interceptors → Interceptors
no setter
requestReceiveTimeout int?
getter/setter pair
requestSendTimeout int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

manageDioError(DioError e, StackTrace stacktrace, {dynamic decoder(dynamic)?}) ErrorResponse
manageError(Object e, StackTrace stacktrace) ErrorResponse
manageException(Exception e, StackTrace stacktrace) ErrorResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveData<T>(BaseRequest request, {bool? cached, bool? forceRefresh, Duration? duration}) Future<Either<ErrorResponse, SuccessResponse<T>>>
override
setup(BaseOptions? baseOptions, List<Interceptor>? interceptors, bool useLogInterceptor) → void
toString() String
A string representation of this object.
inherited

Operators

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