SockJSCloseEvent constructor

SockJSCloseEvent(
  1. int code,
  2. String reason, {
  3. required bool wasClean,
})

Constructs a SockJSCloseEvent.

Implementation

SockJSCloseEvent(this.code, this.reason, {required this.wasClean})
    : super._('close');