MentionRule constructor

  1. @JsonSerializable(includeIfNull: false)
const MentionRule({
  1. @Default(appBskyFeedThreadgateMentionRule) @JsonKey(name: r'$type') String $type,
  2. @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;