deprecated property

  1. @TagNumber(1)
bool get deprecated

Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.

Implementation

@$pb.TagNumber(1)
$core.bool get deprecated => $_getBF(0);
  1. @TagNumber(1)
set deprecated (bool v)

Implementation

@$pb.TagNumber(1)
set deprecated($core.bool v) { $_setBool(0, v); }