TagNumber constructor

const TagNumber(
  1. int tagNumber
)

Annotation for marking accessors that belong together.

Allows tooling to associate related accessors. The tagNumber is the protobuf field tag associated with the annotated accessor.

Implementation

const TagNumber(this.tagNumber);