replyRefDescriptor top-level property

XRPCObjectDescriptor<ReplyRef> replyRefDescriptor
final

Implementation

final replyRefDescriptor = XRPCObjectDescriptor<ReplyRef>(
  nsid: 'so.sprk.feed.reply',
  defName: 'replyRef',
  fromJson: (json) =>
      const ReplyRefConverter().fromJson(json.cast<String, dynamic>()),
  toJson: const ReplyRefConverter().toJson,
  matches: ReplyRef.validate,
);