BlockedAuthor constructor
- @JsonSerializable(includeIfNull: false)
const
BlockedAuthor(
{ - @Default(appBskyFeedDefsBlockedAuthor) @JsonKey(name: r'$type') String $type,
- required String did,
- @ViewerStateConverter() @Default(ViewerState()) ViewerState viewer,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory BlockedAuthor({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.defs#blockedAuthor`
@Default(appBskyFeedDefsBlockedAuthor)
@JsonKey(name: r'$type')
String $type,
required String did,
@ViewerStateConverter() @Default(ViewerState()) ViewerState viewer,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _BlockedAuthor;