handle method

  1. @override
Future<void> handle(
  1. LocalNotificationModel notification
)
override

Implementation

@override
Future<void> handle(LocalNotificationModel notification) async {
  notification.isWorkInBackground
      ? await TaskRegister().registerPeriodicTask(notification)
      : await PeriodicNotify.periodicallyShow(notification);
}