feedPostgateRecordDescriptor top-level property

XRPCRecordDescriptor<FeedPostgateRecord> feedPostgateRecordDescriptor
final

Implementation

final feedPostgateRecordDescriptor = XRPCRecordDescriptor<FeedPostgateRecord>(
  nsid: 'app.bsky.feed.postgate',
  defName: 'main',
  fromJson: (json) => const FeedPostgateRecordConverter().fromJson(
    json.cast<String, dynamic>(),
  ),
  toJson: const FeedPostgateRecordConverter().toJson,
  matches: FeedPostgateRecord.validate,
  key: 'tid',
);