FeedThreadgateRecord constructor

  1. @JsonSerializable.new(includeIfNull: false)
const FeedThreadgateRecord({
  1. @Default.new('app.bsky.feed.threadgate') String $type,
  2. required String post,
  3. @UFeedThreadgateAllowConverter() List<UFeedThreadgateAllow>? allow,
  4. required DateTime createdAt,
  5. List<String>? hiddenReplies,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory FeedThreadgateRecord({
  @Default('app.bsky.feed.threadgate') String $type,

  /// Reference (AT-URI) to the post record.
  required String post,
  @UFeedThreadgateAllowConverter() List<UFeedThreadgateAllow>? allow,
  required DateTime createdAt,
  List<String>? hiddenReplies,

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