CloseMessage constructor

CloseMessage({
  1. String? error,
  2. bool? allowReconnect,
})

Implementation

CloseMessage({String? error, bool? allowReconnect})
    : this.error = error,
      this.allowReconnect = allowReconnect,
      super(MessageType.Close);