data_repository library
Classes
- ApiConfig
- ApiError
- ApiInterceptor
- Api interceptor interface
- ApiMethods
- Http methods
- ApiProvider
- Api Provider class
-
ApiRequest<
ResponseType, InnerType> -
ApiResponse<
BodyType, InnerType> - BaseApiService
- CacheDescription
- CacheManager
- Cache manager class that handles all the cache operations
- DataRepository
- Data repository class that handles all the network calls an local data access
- ErrorDescription
- ExceptionFormater
-
Extra<
T> - FileFormField
- class for handling file upload
- HeaderInterceptor
- an interceptor to add headers to a request before initiating it
- HttpApiProvider
- Jsonutils
- LocalRepository
- Interface for Local Repository
- MapRepository
- Pagination
- RemoteRepository
- for Remote Repository
Mixins
Extensions
- IntExt on int
-
MapExt
on Map<
String, dynamic> - PaginationExt on Pagination
- ToIntEx on Object
- ToIntExt on dynamic
Typedefs
-
JsonFactory<
T> = T Function(Map< String, dynamic> json) -
NetworkCall<
T> = Future< T> Function()