whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? article(
- Article article
- TResult? collection(
- Collection collection
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(Article article)? article,
TResult? Function(Collection collection)? collection,
}) =>
throw _privateConstructorUsedError;