PhoenixSocketErrorEvent constructor

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

Default constructor for the error event.

Implementation

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