appBskyActorGetPreferences function

Future<XRPCResponse<ActorGetPreferencesOutput>> appBskyActorGetPreferences({
  1. required ServiceContext $ctx,
  2. Map<String, String>? $headers,
  3. Map<String, String>? $unknown,
})

Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth.

Implementation

Future<XRPCResponse<ActorGetPreferencesOutput>> appBskyActorGetPreferences({
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyActorGetPreferences,
  headers: $headers,
  parameters: {...?$unknown},
  to: const ActorGetPreferencesOutputConverter().fromJson,
);