feedThreadgateRecordDescriptor top-level property

XRPCRecordDescriptor<FeedThreadgateRecord> feedThreadgateRecordDescriptor
final

Implementation

final feedThreadgateRecordDescriptor =
    XRPCRecordDescriptor<FeedThreadgateRecord>(
      nsid: 'app.bsky.feed.threadgate',
      defName: 'main',
      fromJson: (json) => const FeedThreadgateRecordConverter().fromJson(
        json.cast<String, dynamic>(),
      ),
      toJson: const FeedThreadgateRecordConverter().toJson,
      matches: FeedThreadgateRecord.validate,
      key: 'tid',
    );