HiddenPostsPref constructor
- @JsonSerializable(includeIfNull: false)
const
HiddenPostsPref(
{ - @Default(appBskyActorDefsHiddenPostsPref) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() required List<AtUri> items,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory HiddenPostsPref({
/// The unique namespace for this lex object.
///
/// `app.bsky.actor.defs#hiddenPostsPref`
@Default(appBskyActorDefsHiddenPostsPref)
@JsonKey(name: r'$type')
String $type,
/// A list of URIs of posts the account owner has hidden.
@AtUriConverter() required List<AtUri> items,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _HiddenPostsPref;