toolsOzoneInboxPutNotificationPreferences function
Future<XRPCResponse<InboxPutNotificationPreferencesOutput> >
toolsOzoneInboxPutNotificationPreferences({})
Implementation
Future<XRPCResponse<InboxPutNotificationPreferencesOutput>>
toolsOzoneInboxPutNotificationPreferences({
required bool push,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneInboxPutNotificationPreferences,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'push': push},
to: const InboxPutNotificationPreferencesOutputConverter().fromJson,
);