deprecated property

  1. @TagNumber(23)
bool get deprecated

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

Implementation

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

Implementation

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