Constructors
-
BaseHttpClient({BaseOptions? baseOptions, List<Interceptor>? interceptors, bool useLogInterceptor = true, bool cached = false, int? requestSendTimeout, int? requestReceiveTimeout})
-
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