NotificationFailure.scheduling constructor
NotificationFailure.scheduling({
- String? details,
- StackTrace? stackTrace,
Creates a notification failure for scheduling errors.
Implementation
factory NotificationFailure.scheduling({
String? details,
StackTrace? stackTrace,
}) {
return NotificationFailure(
message: 'Failed to schedule notification',
code: 'SCHEDULING_ERROR',
details: details,
stackTrace: stackTrace,
);
}