mentionRuleDescriptor top-level property
Implementation
final mentionRuleDescriptor = XRPCObjectDescriptor<MentionRule>(
nsid: 'app.bsky.feed.threadgate',
defName: 'mentionRule',
fromJson: (json) =>
const MentionRuleConverter().fromJson(json.cast<String, dynamic>()),
toJson: const MentionRuleConverter().toJson,
matches: MentionRule.validate,
);