sendToAll method

Future<ResponseItemDTO> sendToAll({
  1. NotificationBody? body,
})

Implementation

Future<ResponseItemDTO> sendToAll({NotificationBody? body}) async {
  var response = await _http!.request(
    requestType: RequestType.post,
    path: '/dashboard/notifications/to-all',
    data: body,
  );

  return ResponseItemDTO(
    response: response,
    fromJson: null,
  );
}