ReplyRef constructor

  1. @JsonSerializable(includeIfNull: false)
const ReplyRef({
  1. @Default('app.bsky.feed.defs#replyRef') String $type,
  2. @UReplyRefRootConverter() required UReplyRefRoot root,
  3. @UReplyRefParentConverter() required UReplyRefParent parent,
  4. @ProfileViewBasicConverter() ProfileViewBasic? grandparentAuthor,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ReplyRef({
  @Default('app.bsky.feed.defs#replyRef') String $type,
  @UReplyRefRootConverter() required UReplyRefRoot root,
  @UReplyRefParentConverter() required UReplyRefParent parent,

  /// When parent is a reply to another post, this is the author of that post.
  @ProfileViewBasicConverter() ProfileViewBasic? grandparentAuthor,

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