createEmptyInstance method Null safety

LobbyMessage createEmptyInstance()
override

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

Implementation

LobbyMessage createEmptyInstance() => create();