maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult badGateWay(
- String? exception
- TResult internalServiceError(
- String? exception
- TResult removedResourceFound(
- String? exception
- TResult resourceForbidden(
- String? exception
- TResult resourceNotFound(
- String? exception
- TResult resourceRemoved(
- String? exception
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(String? exception)? badGateWay,
TResult Function(String? exception)? internalServiceError,
TResult Function(String? exception)? removedResourceFound,
TResult Function(String? exception)? resourceForbidden,
TResult Function(String? exception)? resourceNotFound,
TResult Function(String? exception)? resourceRemoved,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;