WebSocketEventMap constructor

WebSocketEventMap({
  1. CloseEvent? close,
  2. Event? error,
  3. MessageEvent? message,
  4. Event? open,
})

Implementation

factory WebSocketEventMap({
  _i3.CloseEvent? close,
  _i3.Event? error,
  _i3.MessageEvent<_i2.dynamic>? message,
  _i3.Event? open,
}) =>
    WebSocketEventMap._(
      close: close ?? _i6.undefined,
      error: error ?? _i6.undefined,
      message: message ?? _i6.undefined,
      open: open ?? _i6.undefined,
    );