getSubscribedTopics method
Returns the list of topics stored in localStorage.
Implementation
@override
Future<List<String>> getSubscribedTopics() async {
try {
const key = 'notification_master_subscribed_topics';
final raw = web.window.localStorage.getItem(key);
if (raw == null || raw.isEmpty) return [];
return raw.split(',').where((t) => t.isNotEmpty).toList();
} catch (e) {
return [];
}
}