utils library

Mixins

EncodeUtils
For Google Play Services check to prevent app crashing.

Constants

debugNetworkProxy → const bool
enable network proxy

Properties

eventBus → EventBus
final
logger ↔ Logger
getter/setter pair

Functions

httpDelete(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PUT that support Logging
httpGet(Uri uri, {Map<String, String>? headers, bool enableDio = false, bool refreshCache = false}) Future<Response>
The default http GET that support Logging
httpPatch(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PATCH that support Logging
httpPost(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http POST that support Logging
httpPut(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PUT that support Logging
initProxyClient(Uri url) → void
printError(dynamic err, [dynamic trace, dynamic message]) → void
printLog([dynamic rawData, DateTime? startTime, Level? level]) → void
Logging config

Exceptions / Errors

ProxyException