SocketRequest.create constructor
create is a factory constructor that creates a SocketRequest with the given event
and data
.
Implementation
SocketRequest.create(this.event, this.data);
create is a factory constructor that creates a SocketRequest with the given event
and data
.
SocketRequest.create(this.event, this.data);