errorAndStackTraceOrNull property

ErrorAndStackTrace? errorAndStackTraceOrNull

Returns error and stack trace if kind is NotificationKind.error, otherwise returns null.

Implementation

ErrorAndStackTrace? get errorAndStackTraceOrNull {
  final self = this;
  return self is ErrorNotification ? self.errorAndStackTrace : null;
}