FeedLikeRecord constructor

  1. @JsonSerializable.new(includeIfNull: false)
const FeedLikeRecord({
  1. @Default.new('app.bsky.feed.like') String $type,
  2. @RepoStrongRefConverter() required RepoStrongRef subject,
  3. required DateTime createdAt,
  4. @RepoStrongRefConverter() RepoStrongRef? via,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory FeedLikeRecord({
  @Default('app.bsky.feed.like') String $type,
  @RepoStrongRefConverter() required RepoStrongRef subject,
  required DateTime createdAt,
  @RepoStrongRefConverter() RepoStrongRef? via,

  Map<String, dynamic>? $unknown,
}) = _FeedLikeRecord;