when<TResult extends Object?> method

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

Implementation

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