whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? profileViewBasic(
    1. ProfileViewBasic data
    )?,
  2. TResult? profileView(
    1. ProfileView data
    )?,
  3. TResult? profileViewDetailed(
    1. ProfileViewDetailed data
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(ProfileViewBasic data)? profileViewBasic,
  TResult? Function(ProfileView data)? profileView,
  TResult? Function(ProfileViewDetailed data)? profileViewDetailed,
}) =>
    throw _privateConstructorUsedError;