WebSocketEventMap constructor
WebSocketEventMap({
- CloseEvent? close,
- Event? error,
- MessageEvent? message,
- 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,
);