BaseApiConnectionTimeoutException class
abstract
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<TResult extends Object?>({required TResult cancel(BaseApiCancelException value), required TResult connectionTimeout(BaseApiConnectionTimeoutException value), required TResult sendTimeout(BaseApiSendTimeoutException value), required TResult receiveTimeout(BaseApiReceiveTimeoutException value), required TResult badCertificate(BaseApiBadCertificateException value), required TResult connectionError(BaseApiConnectionErrorException value), required TResult badResponse(BaseApiBadResponseException value), required TResult businessException(BaseApiBusinessException value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? cancel(BaseApiCancelException value)?, TResult? connectionTimeout(BaseApiConnectionTimeoutException value)?, TResult? sendTimeout(BaseApiSendTimeoutException value)?, TResult? receiveTimeout(BaseApiReceiveTimeoutException value)?, TResult? badCertificate(BaseApiBadCertificateException value)?, TResult? connectionError(BaseApiConnectionErrorException value)?, TResult? badResponse(BaseApiBadResponseException value)?, TResult? businessException(BaseApiBusinessException value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult cancel(BaseApiCancelException value)?, TResult connectionTimeout(BaseApiConnectionTimeoutException value)?, TResult sendTimeout(BaseApiSendTimeoutException value)?, TResult receiveTimeout(BaseApiReceiveTimeoutException value)?, TResult badCertificate(BaseApiBadCertificateException value)?, TResult connectionError(BaseApiConnectionErrorException value)?, TResult badResponse(BaseApiBadResponseException value)?, TResult businessException(BaseApiBusinessException value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult cancel(Object? error, RequestOptions? options)?, TResult connectionTimeout()?, TResult sendTimeout()?, TResult receiveTimeout()?, TResult badCertificate()?, TResult connectionError()?, TResult badResponse(Response? response, int? statusCode)?, TResult businessException(String message, Object? error, StackTrace? stackTrace)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serializes this BaseApiException to a JSON map.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult cancel(Object? error, RequestOptions? options), required TResult connectionTimeout(), required TResult sendTimeout(), required TResult receiveTimeout(), required TResult badCertificate(), required TResult connectionError(), required TResult badResponse(Response? response, int? statusCode), required TResult businessException(String message, Object? error, StackTrace? stackTrace)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? cancel(Object? error, RequestOptions? options)?, TResult? connectionTimeout()?, TResult? sendTimeout()?, TResult? receiveTimeout()?, TResult? badCertificate()?, TResult? connectionError()?, TResult? badResponse(Response? response, int? statusCode)?, TResult? businessException(String message, Object? error, StackTrace? stackTrace)?})
→ TResult?
-
inherited