getUnreadCount method

Future<XRPCResponse<Count>> getUnreadCount({
  1. bool? priority,
  2. Map<String, String>? headers,
})

Implementation

Future<core.XRPCResponse<Count>> getUnreadCount({
  bool? priority,
  Map<String, String>? headers,
}) async =>
    await _ctx.get(
      ns.appBskyNotificationGetUnreadCount,
      headers: headers,
      parameters: {
        'priority': priority,
      },
      to: Count.fromJson,
    );