maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult adultContentPref()?,
- TResult contentLabelPref()?,
- TResult savedFeedsPref()?,
- TResult savedFeedsPrefV2()?,
- TResult personalDetailsPref()?,
- TResult feedViewPref(
- UPreferenceFeedViewPref value
- TResult threadViewPref()?,
- TResult interestsPref(
- UPreferenceInterestsPref value
- TResult mutedWordsPref()?,
- TResult bskyAppStatePref()?,
- TResult labelersPref(
- UPreferenceLabelersPref value
- TResult unknown(
- UPreferenceUnknown value
- 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;