reverseNotificationAction method
Implementation
Future<String> reverseNotificationAction(String id, ButtonType action) async {
var response = (await _client.post<Map<String, dynamic>>(
'notifications/$id/revert',
data: {
'actionType': action.name,
}
)).data!;
return response['data']['notificationId'];
}