getPermissionNotificationWithoutCtx function

Future getPermissionNotificationWithoutCtx({
  1. BuildContext? context,
  2. String? id,
})

get permission notification without ctx function

Implementation

Future getPermissionNotificationWithoutCtx(
    {BuildContext? context, String? id}) async {
  HtifyWithoutContext task = HtifyWithoutContext.task();
  return await task.get(
      context: context, '${routes['notificationPermission']}');
}