whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<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
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;