schedule static method
Future<bool>
schedule(
- UNotificationRequest request,
- DateTime at, {
- URepeat repeat = URepeat.none,
- URepeatCalendar calendar = URepeatCalendar.gregorian,
- 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);