draftEmbedCaptionDescriptor top-level property
Implementation
final draftEmbedCaptionDescriptor = XRPCObjectDescriptor<DraftEmbedCaption>(
nsid: 'app.bsky.draft.defs',
defName: 'draftEmbedCaption',
fromJson: (json) =>
const DraftEmbedCaptionConverter().fromJson(json.cast<String, dynamic>()),
toJson: const DraftEmbedCaptionConverter().toJson,
matches: DraftEmbedCaption.validate,
);