active static method
Notifications currently shown in the notification centre.
Implementation
static Future<List<UNotificationInfo>> active() async {
if (kIsWeb) return const <UNotificationInfo>[];
final List<Object?>? raw = await _call<List<Object?>>("active");
return (raw ?? <Object?>[]).whereType<Map<Object?, Object?>>().map(UNotificationInfo.fromMap).toList();
}