azure_app_config library
Classes
- AzureAppConfig
- This class represents the Microsoft Azure App Configuration.
- AzureFilters
- Defines constants that are related to filtering operations that can be made.
- AzureKey
- Represents an App Configuration Key resource.
- BaseOptions
-
A set of base settings for each
Dio()
. BaseOptions and Options will be merged into one RequestOptions before sending the requests. See Options.compose. - DioMixin
- ErrorInterceptorHandler
- The handler for interceptors to handle error occurred during the request.
- FeatureFilter
- A filter that can be used to determine whether some criteria is met to enable a feature flag.
- FeatureFlag
- This class represents a FeatureFlag.
- Interceptor
-
Interceptor helps to deal with RequestOptions,
Response
, andDioException
during the lifecycle of a request before it reaches users. - Interceptors
- A Queue-Model list for Interceptors.
-
InterceptorState<
T> - Used to pass state between interceptors.
- InterceptorsWrapper
- A helper class to create interceptors in ease.
- KeyValue
- This class represents an Azure App Configuration Key-value resource.
- Options
- The configuration for a single request. BaseOptions and Options will be merged into one RequestOptions before sending the requests. See Options.compose.
- QueuedInterceptor
- Interceptor in queue.
- QueuedInterceptorsWrapper
- A helper class to create QueuedInterceptor in ease.
- RequestInterceptorHandler
- The handler for interceptors to handle before the request has been sent.
- RequestOptions
- The internal request option class that is the eventual result after BaseOptions and Options are composed.
- ResponseInterceptorHandler
- The handler for interceptors to handle after respond.
Enums
- FileAccessMode
- The file access mode when downloading a file, corresponds to a subset of dart:io::FileMode.
- InterceptorResultType
- The result type after handled by the interceptor.
- ListFormat
- Specifies the array format (a single parameter with multiple parameter or multiple parameters with the same name). and the separator for array items.
- ResponseType
- Indicates which transformation should be applied to the response data.
Mixins
- OptionsMixin
- The mixin class for options that provides common attributes.
Typedefs
- AzureRemoteService = AzureAppConfig
- InterceptorErrorCallback = void Function(DioException error, ErrorInterceptorHandler handler)
- The signature of Interceptor.onError.
- InterceptorSendCallback = void Function(RequestOptions options, RequestInterceptorHandler handler)
- The signature of Interceptor.onRequest.
- InterceptorSuccessCallback = void Function(Response response, ResponseInterceptorHandler handler)
- The signature of Interceptor.onResponse.
- ProgressCallback = void Function(int count, int total)
- The type of a progress listening callback when sending or receiving data.
-
RequestEncoder
= FutureOr<
List< Function(String request, RequestOptions options)int> > - The type of a request encoding callback.
-
ResponseDecoder
= FutureOr<
String?> Function(List<int> responseBytes, RequestOptions options, ResponseBody responseBody) - The type of a response decoding callback.
- ValidateStatus = bool Function(int? status)
- The type of a response status code validate callback.
Exceptions / Errors
- AzureAuthenticationException
- When Azure response with an Authentication error
- AzureComplexTypeException
- AzureFilterValidationException
- When a invalid filter query has been provided.
- AzureKeyValueNotParsableAsFeatureFlagException
- When an KeyValue cannot be parsed to a FeatureFlag.
- AzureRecordLockedException
- When a locked record is changed.
- AzureRecordNotFoundException
- When a record cannot be found.
-
NotNullableError<
T> -
A TypeError thrown by
_checkNotNullable
.