ProtobufEnum constructor Null safety

const ProtobufEnum(
  1. int value,
  2. String name
)

Returns a new constant ProtobufEnum using value and name.

Implementation

const ProtobufEnum(this.value, this.name);