createEmptyInstance method

ForeignMessage createEmptyInstance()
override

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

Implementation

ForeignMessage createEmptyInstance() => create();