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