PhoenixSocketErrorEvent constructor

const PhoenixSocketErrorEvent({
  1. Object? error,
  2. dynamic stacktrace,
})

Default constructor for the error event.

Implementation

const PhoenixSocketErrorEvent({
  this.error,
  this.stacktrace,
});