maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult adultContentPref(
    1. AdultContentPref data
    )?,
  2. TResult contentLabelPref(
    1. ContentLabelPref data
    )?,
  3. TResult savedFeedsPref(
    1. SavedFeedsPref data
    )?,
  4. TResult savedFeedsPrefV2(
    1. SavedFeedsPrefV2 data
    )?,
  5. TResult personalDetailsPref(
    1. PersonalDetailsPref data
    )?,
  6. TResult feedViewPref(
    1. FeedViewPref data
    )?,
  7. TResult threadViewPref(
    1. ThreadViewPref data
    )?,
  8. TResult interestsPref(
    1. InterestsPref data
    )?,
  9. TResult mutedWordsPref(
    1. MutedWordsPref data
    )?,
  10. TResult hiddenPostsPref(
    1. HiddenPostsPref data
    )?,
  11. TResult bskyAppStatePref(
    1. BskyAppStatePref data
    )?,
  12. TResult labelersPref(
    1. LabelersPref data
    )?,
  13. TResult unknown(
    1. Map<String, dynamic> data
    )?,
  14. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(AdultContentPref data)? adultContentPref,
  TResult Function(ContentLabelPref data)? contentLabelPref,
  TResult Function(SavedFeedsPref data)? savedFeedsPref,
  TResult Function(SavedFeedsPrefV2 data)? savedFeedsPrefV2,
  TResult Function(PersonalDetailsPref data)? personalDetailsPref,
  TResult Function(FeedViewPref data)? feedViewPref,
  TResult Function(ThreadViewPref data)? threadViewPref,
  TResult Function(InterestsPref data)? interestsPref,
  TResult Function(MutedWordsPref data)? mutedWordsPref,
  TResult Function(HiddenPostsPref data)? hiddenPostsPref,
  TResult Function(BskyAppStatePref data)? bskyAppStatePref,
  TResult Function(LabelersPref data)? labelersPref,
  TResult Function(Map<String, dynamic> data)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;