LikeRecord constructor
- @JsonSerializable(includeIfNull: false)
const
LikeRecord(
{ - @Default(appBskyFeedLike) @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 LikeRecord({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.like`
@Default(appBskyFeedLike) @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,
}) = _LikeRecord;