WsMsg constructor
Implementation
factory WsMsg({
Error? error,
MsgBlock? block,
MsgTx? tx,
}) {
final result = create();
if (error != null) result.error = error;
if (block != null) result.block = block;
if (tx != null) result.tx = tx;
return result;
}