graphBlockRecordDescriptor top-level property

XRPCRecordDescriptor<GraphBlockRecord> graphBlockRecordDescriptor
final

Implementation

final graphBlockRecordDescriptor = XRPCRecordDescriptor<GraphBlockRecord>(
  nsid: 'app.bsky.graph.block',
  defName: 'main',
  fromJson: (json) =>
      const GraphBlockRecordConverter().fromJson(json.cast<String, dynamic>()),
  toJson: const GraphBlockRecordConverter().toJson,
  matches: GraphBlockRecord.validate,
  key: 'tid',
);