toolsOzoneInboxGetPushPreference function

Future<XRPCResponse<InboxGetPushPreferenceOutput>> toolsOzoneInboxGetPushPreference({
  1. required String recipientDid,
  2. required String category,
  3. required ServiceContext $ctx,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<InboxGetPushPreferenceOutput>>
toolsOzoneInboxGetPushPreference({
  required String recipientDid,
  required String category,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneInboxGetPushPreference,
  service: $service,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'recipientDid': recipientDid,
    'category': category,
  },
  to: const InboxGetPushPreferenceOutputConverter().fromJson,
);