toolsOzoneInboxAckPushNotifications function

Future<XRPCResponse<InboxAckPushNotificationsOutput>> toolsOzoneInboxAckPushNotifications({
  1. required List<Item> items,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<InboxAckPushNotificationsOutput>>
toolsOzoneInboxAckPushNotifications({
  required List<Item> items,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.toolsOzoneInboxAckPushNotifications,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {
    ...?$unknown,
    'items': items.map((e) => const ItemConverter().toJson(e)).toList(),
  },
  to: const InboxAckPushNotificationsOutputConverter().fromJson,
);