createEmptyInstance method Null safety

CommandHandled createEmptyInstance()
override

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

Implementation

CommandHandled createEmptyInstance() => create();