maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult closed(
    1. AvataaarTypeEyesClosed value
    )?,
  2. TResult cry(
    1. AvataaarTypeEyesCry value
    )?,
  3. TResult default0(
    1. AvataaarTypeEyesDefault0 value
    )?,
  4. TResult dizzy(
    1. AvataaarTypeEyesDizzy value
    )?,
  5. TResult eyeRoll(
    1. AvataaarTypeEyesEyeRoll value
    )?,
  6. TResult happy(
    1. AvataaarTypeEyesHappy value
    )?,
  7. TResult hearts(
    1. AvataaarTypeEyesHearts value
    )?,
  8. TResult side(
    1. AvataaarTypeEyesSide value
    )?,
  9. TResult surprised(
    1. AvataaarTypeEyesSurprised value
    )?,
  10. TResult wink(
    1. AvataaarTypeEyesWink value
    )?,
  11. TResult winkWacky(
    1. AvataaarTypeEyesWinkWacky value
    )?,
  12. TResult squint(
    1. AvataaarTypeEyesSquint value
    )?,
  13. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(AvataaarTypeEyesClosed value)? closed,
  TResult Function(AvataaarTypeEyesCry value)? cry,
  TResult Function(AvataaarTypeEyesDefault0 value)? default0,
  TResult Function(AvataaarTypeEyesDizzy value)? dizzy,
  TResult Function(AvataaarTypeEyesEyeRoll value)? eyeRoll,
  TResult Function(AvataaarTypeEyesHappy value)? happy,
  TResult Function(AvataaarTypeEyesHearts value)? hearts,
  TResult Function(AvataaarTypeEyesSide value)? side,
  TResult Function(AvataaarTypeEyesSurprised value)? surprised,
  TResult Function(AvataaarTypeEyesWink value)? wink,
  TResult Function(AvataaarTypeEyesWinkWacky value)? winkWacky,
  TResult Function(AvataaarTypeEyesSquint value)? squint,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;