MutedWordsPref constructor

  1. @JsonSerializable(includeIfNull: false)
const MutedWordsPref({
  1. @Default(appBskyActorDefsMutedWordsPref) @JsonKey(name: r'$type') String $type,
  2. @MutedWordConverter() required List<MutedWord> items,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory MutedWordsPref({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.actor.defs#mutedWordsPref`
  @Default(appBskyActorDefsMutedWordsPref)
  @JsonKey(name: r'$type')
  String $type,

  /// A list of words the account owner has muted.
  @MutedWordConverter() required List<MutedWord> items,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _MutedWordsPref;