profileViewBasicDescriptor top-level property

XRPCObjectDescriptor<ProfileViewBasic> profileViewBasicDescriptor
final

Implementation

final profileViewBasicDescriptor = XRPCObjectDescriptor<ProfileViewBasic>(
  nsid: 'app.bsky.actor.defs',
  defName: 'profileViewBasic',
  fromJson: (json) =>
      const ProfileViewBasicConverter().fromJson(json.cast<String, dynamic>()),
  toJson: const ProfileViewBasicConverter().toJson,
  matches: ProfileViewBasic.validate,
);