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 url, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PUT that support Logging
httpGet(Uri url, {Map<String, String>? headers, bool enableDio = false, String kWebProxy = ''}) Future<Response>
The default http GET that support Logging
httpPatch(Uri url, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PATCH that support Logging
httpPost(Uri url, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http POST that support Logging
httpPut(Uri url, {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