web_client library
Classes
- ApiResponse
-
ApiResult<
TResponse> - AssignRoles
- AssignRolesResponse
- AuditBase
- Authenticate
- AuthenticateResponse
- BackgroundJob
- BackgroundJobBase
- BackgroundJobOptions
- ByteArrayConverter
- CancelRequest
- CancelRequestResponse
- ClientConfig
- ClientFactory
- ClientOptions
- CompletedJob
- ConsoleLogger
- ConvertSessionToToken
- ConvertSessionToTokenResponse
- DateTimeConverter
- DefaultConverter
- DurationConverter
- EmptyResponse
- EnumConverter
- FailedJob
- GetAccessToken
- GetAccessTokenResponse
- GetApiKeys
- GetApiKeysResponse
- GetEventSubscribers
- HourSummary
- IConverter
- IConvertible
-
ICreateDb<
Table> - ICrud
- IDelete
-
IDeleteDb<
Table> - IdResponse
- IGet
- IHasBearerToken
- IHasSessionId
- IHasVersion
- IMeta
- IOptions
- IPatch
-
IPatchDb<
Table> - IPost
- IPut
-
IReturn<
T> - IReturnVoid
-
ISaveDb<
Table> - IServiceClient
-
IUpdateDb<
Table> - JobStatSummary
- JobSummary
- JsonConverters
- JsonWebClient
-
KeyValuePair<
K, V> - KeyValuePairConverter
- ListConverter
- Log
- Logger
- MapConverter
- NullLogger
- QueryBase
-
QueryData<
T> -
QueryDb<
T> -
QueryDb1<
T> -
QueryDb2<
From, Into> -
QueryResponse<
T> - RegenerateApiKeys
- RegenerateApiKeysResponse
- Register
- RegisterResponse
- ResponseError
- ResponseStatus
- ScheduledTask
- SendWebContext
- StringResponse
- StringsResponse
-
Tuple<
T1, T2> -
Tuple2<
T1, T2> -
Tuple3<
T1, T2, T3> -
Tuple4<
T1, T2, T3, T4> - TypeAs
- TypeContext
- TypeInfo
- UnAssignRoles
- UnAssignRolesResponse
- UpdateEventSubscriber
- UpdateEventSubscriberResponse
- UploadFile
- UserApiKey
- WorkerStats
Extensions
Functions
-
appendQueryString(
String url, Map< String, dynamic> ? args) → String? -
combinePaths(
List< String?> paths) → String -
containsMinified(
String type) → bool -
convert(
dynamic value, String typeName, [TypeContext? context = null]) → dynamic -
convertTo(
dynamic request, dynamic responseAs, dynamic jsonObj) → dynamic -
createErrorResponse(
String errorCode, String message, [WebServiceExceptionType? type]) → WebServiceException -
createListContext(
TypeContext reqContext, String listType, dynamic responseAs) → TypeContext -
createResponseStatus(
Map< String, dynamic> ? obj) → ResponseStatus? -
createUri(
String? url) → Uri? -
docsDartUrl(
String suffix) → String -
docsUrl(
String suffix) → String -
findValue(
Map< String, dynamic> map, String key) → dynamic -
fromByteArray(
String base64String) → Uint8List -
fromDateTime(
String jsonDate) → DateTime -
fromGuid(
String guid) → String -
fromTimeSpan(
String? str) → Duration? -
getGenericArgs(
String? type) → List< String> -
getResponseStatus(
Exception e) → ResponseStatus? -
getResponseType(
dynamic request, dynamic responseAs) → String? -
getTypeName(
dynamic value, TypeContext context) → String? -
hasRequestBody(
String method) → bool -
isJsonObject(
String str) → bool -
isMinified(
String type) → bool -
lastLeftPart(
String? strVal, String needle) → String? -
lastRightPart(
String strVal, String needle) → String -
leftPart(
String? strVal, String needle) → String? -
nameOf(
dynamic o) → String? -
populate(
dynamic to, dynamic from, [TypeContext? context = null]) → dynamic -
qsValue(
dynamic arg) → String? -
resolveHttpMethod(
dynamic request) → String -
rightPart(
String? strVal, String needle) → String? -
runtimeGenericTypeDefs(
dynamic instance, List< int> indexes) → List<String> -
sanitizeKey(
String key) → String -
splitGenericArgs(
String argsString) → List< String> -
splitOnFirst(
String? s, String c) → List< String?> -
splitOnLast(
String s, String c) → List< String> -
toByteArray(
Uint8List bytes) → String -
toDateTime(
DateTime dateTime) → String -
toGuid(
String guid) → String -
toHostsMap(
List< String> urls) → Map<String, int?> -
toMap(
dynamic request) → Map< String, dynamic> ? -
toTimeSpan(
Duration duration) → String -
trimEnd(
String text, String character) → String -
trimStart(
String text, String character) → String
Typedefs
- AsyncCallbackFunction = Future Function()
- ClientFilter = void Function(IServiceClient client)
-
GetJson
= dynamic Function(Map<
String, dynamic> map, String propertyName) - UrlFilter = void Function(String url)
- WebRequestFilter = void Function(Request req)
- WebResponseExceptionFilter = void Function(Response? res, Exception e)
- WebResponseFilter = void Function(Response res)