PostgateRecord constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory PostgateRecord({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.postgate`
@Default(appBskyFeedPostgate) @JsonKey(name: r'$type') String $type,
required DateTime createdAt,
/// Reference (AT-URI) to the post record.
@AtUriConverter() required AtUri post,
/// List of AT-URIs embedding this post that the author has detached
/// from.
@AtUriConverter() List<AtUri>? detachedEmbeddingUris,
@UPostgateEmbeddingRuleConverter()
List<UPostgateEmbeddingRule>? embeddingRules,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _PostgateRecord;