BlockedPost constructor
- @JsonSerializable(includeIfNull: false)
const
BlockedPost(
{ - @Default(appBskyFeedDefsBlockedPost) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() required AtUri uri,
- required bool blocked,
- @BlockedAuthorConverter() required BlockedAuthor author,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory BlockedPost({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.defs#blockedPost`
@Default(appBskyFeedDefsBlockedPost) @JsonKey(name: r'$type') String $type,
@AtUriConverter() required AtUri uri,
required bool blocked,
@BlockedAuthorConverter() required BlockedAuthor author,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _BlockedPost;