map<TResult extends Object?> method
TResult
map<TResult extends Object?>({
- required TResult cancel(
- BaseApiCancelException value
- required TResult connectionTimeout(),
- required TResult sendTimeout(),
- required TResult receiveTimeout(),
- required TResult badCertificate(),
- required TResult connectionError(),
- required TResult badResponse(),
- required TResult businessException(
- BaseApiBusinessException value
inherited
Implementation
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(BaseApiCancelException value) cancel,
required TResult Function(BaseApiConnectionTimeoutException value)
connectionTimeout,
required TResult Function(BaseApiSendTimeoutException value) sendTimeout,
required TResult Function(BaseApiReceiveTimeoutException value)
receiveTimeout,
required TResult Function(BaseApiBadCertificateException value)
badCertificate,
required TResult Function(BaseApiConnectionErrorException value)
connectionError,
required TResult Function(BaseApiBadResponseException value) badResponse,
required TResult Function(BaseApiBusinessException value) businessException,
}) =>
throw _privateConstructorUsedError;