whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? nothing()?,
- TResult? just(
- T value
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function()? nothing,
TResult? Function(T value)? just,
}) =>
throw _privateConstructorUsedError;