mobile_api library
Classes
- ApiConfig
- AppErrorMessage
- BooleanResponse
- CacheKey
- CacheKeyBundle
- CacheKeyResolver
- CheckNetwork
-
The code you provided is written in Dart and defines a class
called
CheckNetwork
. Here's a breakdown of what each part of the code does: - CoreCacheKey
- Built-in reusable (generic) keys.
-
CustomFreshLink<
T> - CustomFreshLink is a copy of FreshLink
- CustomHttpOverrides
- CustomJsonDecoder
- DynamicCacheKey
- User/app-defined dynamic key (allows any custom key).
-
Failure<
S, E extends Exception> - GraphqlErrorType
- HttpHeadersConst
- IBOAuth2Token
- ICacheRepo
- ICacheRepoImpl
- IGraphQl
- IGraphQlImpl
- IHttp
- IHttpImpl
- PageFieldKeys
- Configuration for paginated GraphQL container keys.
-
Result<
S, E extends Exception> - SimpleResult
-
Success<
S, E extends Exception> - SuccessResponse
Enums
- DurationEnum
- ExceptionEnum
- auth enums
- RequestType
Mixins
Extensions
- CustomGraphqlErrorExtension on GraphQLError
- CustomHttpResponseExtension on Response
- QueryPage on QueryResponse
- ResponseError on Response
- StreamedResponseExtension on StreamedResponse
- StringExtension on String
Typedefs
-
ErrorFromJson<
E extends Exception> = E Function(Map< String, dynamic> ) -
FromJsonFun<
T> = T Function(Map< String, dynamic> ) -
MapParam
= Map<
String, dynamic> -
QueryResponse
= QueryResult<
Object?>