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