RepostRecord constructor
- @JsonSerializable(includeIfNull: false)
const
RepostRecord(
{ - @Default(appBskyFeedRepost) @JsonKey(name: r'$type') String $type,
- @StrongRefConverter() required StrongRef subject,
- required DateTime createdAt,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RepostRecord({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.repost`
@Default(appBskyFeedRepost) @JsonKey(name: r'$type') String $type,
@StrongRefConverter() required StrongRef subject,
required DateTime createdAt,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _RepostRecord;