ModerationPrefs constructor

const ModerationPrefs({
  1. @Default(false) bool adultContentEnabled,
  2. required Map<String, LabelPreference> labels,
  3. required List<ModerationPrefsLabeler> labelers,
  4. required List<MutedWord> mutedWords,
  5. required List<AtUri> hiddenPosts,
})

Implementation

const factory ModerationPrefs({
  @Default(false) bool adultContentEnabled,
  required Map<String, LabelPreference> labels,
  required List<ModerationPrefsLabeler> labelers,
  required List<MutedWord> mutedWords,
  required List<AtUri> hiddenPosts,
}) = _ModerationPrefs;