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