toolsOzoneInboxGetNotificationPreferences function

Future<XRPCResponse<InboxGetNotificationPreferencesOutput>> toolsOzoneInboxGetNotificationPreferences({
  1. String? did,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<InboxGetNotificationPreferencesOutput>>
toolsOzoneInboxGetNotificationPreferences({
  String? did,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneInboxGetNotificationPreferences,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, if (did != null) 'did': did},
  to: const InboxGetNotificationPreferencesOutputConverter().fromJson,
);