PhoenixSocketCloseEvent constructor

const PhoenixSocketCloseEvent({
  1. String? reason,
  2. int? code,
})

Default constructor for this close event.

Implementation

const PhoenixSocketCloseEvent({
  this.reason,
  this.code,
});