createEmptyInstance method

WsServerMsg createEmptyInstance()
override

Creates an empty instance of the same message type as this.

Implementation

WsServerMsg createEmptyInstance() => create();