embedVideoViewDescriptor top-level property

XRPCObjectDescriptor<EmbedVideoView> embedVideoViewDescriptor
final

Implementation

final embedVideoViewDescriptor = XRPCObjectDescriptor<EmbedVideoView>(
  nsid: 'app.bsky.embed.video',
  defName: 'view',
  fromJson: (json) =>
      const EmbedVideoViewConverter().fromJson(json.cast<String, dynamic>()),
  toJson: const EmbedVideoViewConverter().toJson,
  matches: EmbedVideoView.validate,
);