MutedWordsPref constructor
- @JsonSerializable(includeIfNull: false)
const
MutedWordsPref(
{ - @Default(appBskyActorDefsMutedWordsPref) @JsonKey(name: r'$type') String $type,
- @MutedWordConverter() required List<MutedWord> items,
- @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;