ListRule constructor
- @JsonSerializable(includeIfNull: false)
const
ListRule(
{ - @Default(appBskyFeedThreadgateListRule) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() required AtUri list,
- @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;