whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult angry()?,
  2. TResult angryNatural()?,
  3. TResult default0()?,
  4. TResult defaultNatural()?,
  5. TResult flatNatural()?,
  6. TResult frownNatural()?,
  7. TResult raisedExcited()?,
  8. TResult raisedExcitedNatural()?,
  9. TResult sadConcerned()?,
  10. TResult sadConcernedNatural()?,
  11. TResult unibrowNatural()?,
  12. TResult upDown()?,
  13. TResult upDownNatural()?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult Function()? angry,
  TResult Function()? angryNatural,
  TResult Function()? default0,
  TResult Function()? defaultNatural,
  TResult Function()? flatNatural,
  TResult Function()? frownNatural,
  TResult Function()? raisedExcited,
  TResult Function()? raisedExcitedNatural,
  TResult Function()? sadConcerned,
  TResult Function()? sadConcernedNatural,
  TResult Function()? unibrowNatural,
  TResult Function()? upDown,
  TResult Function()? upDownNatural,
}) =>
    throw _privateConstructorUsedError;