schedule static method

Future<bool> schedule(
  1. UNotificationRequest request,
  2. DateTime at, {
  3. URepeat repeat = URepeat.none,
  4. URepeatCalendar calendar = URepeatCalendar.gregorian,
  5. bool exact = true,
})

Shows request at at, optionally repeating; monthly/yearly follow calendar (Jalali supported). Exact time on Android: permission add alarm. UNotification.schedule(req, DateTime.now().add(1.hours))

Implementation

static Future<bool> schedule(UNotificationRequest request, DateTime at, {URepeat repeat = URepeat.none, URepeatCalendar calendar = URepeatCalendar.gregorian, bool exact = true}) =>
    UNotifyChannel.schedule(request, at, repeat: repeat, calendar: calendar, exact: exact);