whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? profileViewBasic(
- ActorBasic data
- TResult? profileView(
- Actor data
- TResult? profileViewDetailed(
- ActorProfile data
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(ActorBasic data)? profileViewBasic,
TResult? Function(Actor data)? profileView,
TResult? Function(ActorProfile data)? profileViewDetailed,
}) =>
throw _privateConstructorUsedError;