StreamNotification<T>.error constructor
StreamNotification<T>.error (
- Object error, [
- StackTrace? stackTrace
Constructs a StreamNotification with NotificationKind.error and wraps an error
and stackTrace
Implementation
factory StreamNotification.error(Object error, [StackTrace? stackTrace]) =>
ErrorNotification._internal(error, stackTrace);