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