network_plus library
Classes
- ApiClient
- AuthTokenInterceptor
- A custom interceptor for handling token refresh and request retries. This should be the first interceptor added to DIO as interceptors are executed in FIFO
-
BaseRepository<
T extends BaseResponseModel> - BaseRequestModel
-
BaseResponseModel<
T> - CacheOptions
- Options to apply to handle request and cache behaviour.
- CoreConfiguration
- Class responsible for configuring core functionalities of the application.
- EmptyRequest
- ErrorCodes
- ErrorInterceptors
- LocalStorageManager
- LocalStorageService
- Log
- this will be the helper for logs. By default only logs are enabled only in debug builds, to enable logs on release build as well change filter to ProductionFilter. usage : Log.d('This is a log');
- LogInterceptor
- LogInterceptor should be the last to add since the interceptors are FIFO.
-
Mapper<
ResponseModel, UiModel> - NetworkDecoder
- NetworkDecoderX
- NetworkError
-
NetworkExecutor<
T extends BaseResponseModel> - NoParams
-
Result<
T> - SecuredStorageProvider
- StorageData
- TokenStorage
-
UseCase<
Data, Params>
Enums
- CachePolicy
- Policy to handle request behaviour.
- ErrorType
- METHOD_TYPE
- StorageProvider
Properties
- coreDILocator → GetIt
-
final
Typedefs
- CacheKeyBuilder = String Function(RequestOptions request)
- Key builder to customize your keys.