ListRule constructor

  1. @JsonSerializable(includeIfNull: false)
const ListRule({
  1. @Default(appBskyFeedThreadgateListRule) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required AtUri list,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ListRule({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.feed.threadgate#listRule`
  @Default(appBskyFeedThreadgateListRule)
  @JsonKey(name: r'$type')
  String $type,
  @AtUriConverter() required AtUri list,

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