dio_helper library Null safety

Classes

APiKey
DioErrorEntity
DioErrorLanguageEntity
DioHelper

Constants

checkInternetConnectionError → const String
'Check your internet connection'
connectionTimeOutError → const String
'Connection timed out'
dataNotAvailableError → const String
'Data not available'
invalidRequestError → const String
'Invalid request'
notSupportHTTPError → const String
'Does not support HTTP protocol request'
requestCancelError → const String
'Request cancellation'
requestForbiddenError → const String
'Request method is forbidden'
requestSyntaxError → const String
'Request syntax error'
requestTimeOutError → const String
'Request timed out'
responseTimeOutError → const String
'Response timeout'
serverDownError → const String
'Server is down'
serverInternalError → const String
'Server internal error'
serverRefusedError → const String
'Server refused to execute'
unknownError → const String
'Unknown error'
unknownMistakeError → const String
'Unknown mistake'

Properties

cancelToken ↔ CancelToken
read / write

Enums

DioMethod

Typedefs

ProgressCallback = void Function(int count, int total)