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