setStatus static method
Set notification status.
newStatus
New status.
notificationIds
List of notification ids.
Implementation
static Future setStatus(String newStatus, List<String> notificationIds) {
Map<String, dynamic> methodBody = {
'status': newStatus,
'notificationIds': notificationIds
};
return NativeBridge.async(
'Notifications.setStatus', jsonEncode(methodBody));
}