PhoenixSocketCloseEvent constructor

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

Default constructor for this close event.

Implementation

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