createEmptyInstance method Null safety

TtyDevice createEmptyInstance()
override

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

Implementation

TtyDevice createEmptyInstance() => create();