feedPostRecordDescriptor top-level property
Implementation
final feedPostRecordDescriptor = XRPCRecordDescriptor<FeedPostRecord>(
nsid: 'app.bsky.feed.post',
defName: 'main',
fromJson: (json) =>
const FeedPostRecordConverter().fromJson(json.cast<String, dynamic>()),
toJson: const FeedPostRecordConverter().toJson,
matches: FeedPostRecord.validate,
key: 'tid',
);