maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult adultContentPref(
    1. UPreferenceAdultContentPref value
    )?,
  2. TResult contentLabelPref(
    1. UPreferenceContentLabelPref value
    )?,
  3. TResult savedFeedsPref(
    1. UPreferenceSavedFeedsPref value
    )?,
  4. TResult savedFeedsPrefV2(
    1. UPreferenceSavedFeedsPrefV2 value
    )?,
  5. TResult personalDetailsPref(
    1. UPreferencePersonalDetailsPref value
    )?,
  6. TResult feedViewPref(
    1. UPreferenceFeedViewPref value
    )?,
  7. TResult threadViewPref(
    1. UPreferenceThreadViewPref value
    )?,
  8. TResult interestsPref(
    1. UPreferenceInterestsPref value
    )?,
  9. TResult mutedWordsPref(
    1. UPreferenceMutedWordsPref value
    )?,
  10. TResult hiddenPostsPref(
    1. UPreferenceHiddenPostsPref value
    )?,
  11. TResult bskyAppStatePref(
    1. UPreferenceBskyAppStatePref value
    )?,
  12. TResult labelersPref(
    1. UPreferenceLabelersPref value
    )?,
  13. TResult unknown(
    1. UPreferenceUnknown value
    )?,
  14. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UPreferenceAdultContentPref value)? adultContentPref,
  TResult Function(UPreferenceContentLabelPref value)? contentLabelPref,
  TResult Function(UPreferenceSavedFeedsPref value)? savedFeedsPref,
  TResult Function(UPreferenceSavedFeedsPrefV2 value)? savedFeedsPrefV2,
  TResult Function(UPreferencePersonalDetailsPref value)? personalDetailsPref,
  TResult Function(UPreferenceFeedViewPref value)? feedViewPref,
  TResult Function(UPreferenceThreadViewPref value)? threadViewPref,
  TResult Function(UPreferenceInterestsPref value)? interestsPref,
  TResult Function(UPreferenceMutedWordsPref value)? mutedWordsPref,
  TResult Function(UPreferenceHiddenPostsPref value)? hiddenPostsPref,
  TResult Function(UPreferenceBskyAppStatePref value)? bskyAppStatePref,
  TResult Function(UPreferenceLabelersPref value)? labelersPref,
  TResult Function(UPreferenceUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;