createEmptyInstance method Null safety

TcpReadWriteData createEmptyInstance()
override

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

Implementation

TcpReadWriteData createEmptyInstance() => create();