getNotifications method
Returns notifications that are visible in the notification shade.
Notification shade has to be opened with openNotifications.
Implementation
Future<List<Notification>> getNotifications() async {
final response = await _wrapRequest(
'getNotifications',
() => _client.getNotifications(
GetNotificationsRequest(),
),
);
return response.notifications;
}