whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? left(
- L left
- TResult? right(
- R right
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(L left)? left,
TResult? Function(R right)? right,
}) =>
throw _privateConstructorUsedError;