PostgateRecord constructor

  1. @jsonSerializable
const PostgateRecord({
  1. @typeKey @Default(appBskyFeedPostgate) String type,
  2. @AtUriConverter() required AtUri post,
  3. @AtUriConverter() List<AtUri>? detachedEmbeddingUris,
  4. @UPostgateEmbeddingRuleConverter() List<UPostgateEmbeddingRule>? embeddingRules,
  5. required DateTime createdAt,
})

Implementation

@jsonSerializable
const factory PostgateRecord({
  @typeKey @Default(appBskyFeedPostgate) String type,
  @AtUriConverter() required AtUri post,
  @AtUriConverter() List<AtUri>? detachedEmbeddingUris,
  @UPostgateEmbeddingRuleConverter()
  List<UPostgateEmbeddingRule>? embeddingRules,
  required DateTime createdAt,
}) = _PostgateRecord;