toolsOzoneInboxListNotifications function
Future<XRPCResponse<InboxListNotificationsOutput> >
toolsOzoneInboxListNotifications({
- InboxListNotificationsSection? section,
- List<
InboxListNotificationsReasons> ? reasons, - bool? unreadOnly,
- int? limit,
- String? cursor,
- String? did,
- required ServiceContext $ctx,
- String? $service,
- Map<
String, String> ? $headers, - Map<
String, String> ? $unknown,
Implementation
Future<XRPCResponse<InboxListNotificationsOutput>>
toolsOzoneInboxListNotifications({
InboxListNotificationsSection? section,
List<InboxListNotificationsReasons>? reasons,
bool? unreadOnly,
int? limit,
String? cursor,
String? did,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.toolsOzoneInboxListNotifications,
service: $service,
headers: $headers,
parameters: {
...?$unknown,
if (section != null) 'section': section.toJson(),
if (reasons != null) 'reasons': reasons.map((e) => e.toJson()).toList(),
if (unreadOnly != null) 'unreadOnly': unreadOnly,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
if (did != null) 'did': did,
},
to: const InboxListNotificationsOutputConverter().fromJson,
);