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