createEmptyInstance method Null safety

ObjectReference createEmptyInstance()
override

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

Implementation

ObjectReference createEmptyInstance() => create();