whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult closed()?,
  2. TResult cry()?,
  3. TResult default0()?,
  4. TResult dizzy()?,
  5. TResult eyeRoll()?,
  6. TResult happy()?,
  7. TResult hearts()?,
  8. TResult side()?,
  9. TResult surprised()?,
  10. TResult wink()?,
  11. TResult winkWacky()?,
  12. TResult squint()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult Function()? closed,
  TResult Function()? cry,
  TResult Function()? default0,
  TResult Function()? dizzy,
  TResult Function()? eyeRoll,
  TResult Function()? happy,
  TResult Function()? hearts,
  TResult Function()? side,
  TResult Function()? surprised,
  TResult Function()? wink,
  TResult Function()? winkWacky,
  TResult Function()? squint,
}) =>
    throw _privateConstructorUsedError;