MentionRule constructor
- @JsonSerializable(includeIfNull: false)
const
MentionRule(
{ - @Default(appBskyFeedThreadgateMentionRule) @JsonKey(name: r'$type') String $type,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory MentionRule({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.threadgate#mentionRule`
@Default(appBskyFeedThreadgateMentionRule)
@JsonKey(name: r'$type')
String $type,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _MentionRule;