EDITION_PROTO2 constant

Edition const EDITION_PROTO2

Legacy syntax "editions". These pre-date editions, but behave much like distinct editions. These can't be used to specify the edition of proto files, but feature definitions must supply proto2/proto3 defaults for backwards compatibility.

Implementation

static const Edition EDITION_PROTO2 =
    Edition._(998, _omitEnumNames ? '' : 'EDITION_PROTO2');