createEmptyInstance method Null safety

BucketItem createEmptyInstance()
override

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

Implementation

BucketItem createEmptyInstance() => create();