ThreadgateView constructor

  1. @JsonSerializable(includeIfNull: false)
const ThreadgateView({
  1. @Default(appBskyFeedDefsThreadgateView) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() AtUri? uri,
  3. String? cid,
  4. @ThreadgateRecordConverter() ThreadgateRecord? record,
  5. @ListViewBasicConverter() List<ListViewBasic>? lists,
  6. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ThreadgateView({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.feed.defs#threadgateView`
  @Default(appBskyFeedDefsThreadgateView)
  @JsonKey(name: r'$type')
  String $type,
  @AtUriConverter() AtUri? uri,
  String? cid,
  @ThreadgateRecordConverter() ThreadgateRecord? record,
  @ListViewBasicConverter() List<ListViewBasic>? lists,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ThreadgateView;