whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? profileViewBasic(
    1. ActorBasic data
    )?,
  2. TResult? profileView(
    1. Actor data
    )?,
  3. TResult? profileViewDetailed(
    1. 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;