createEmptyInstance method Null safety

Peer createEmptyInstance()
override

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

Implementation

Peer createEmptyInstance() => create();