createEmptyInstance method Null safety

YearMonth createEmptyInstance()
override

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

Implementation

YearMonth createEmptyInstance() => create();