Future<int> getUnreadCount() async { final res = await dio.get<Map<String, dynamic>>(endpoints.unreadCount); return res.data!['count'] as int; }