OPTIONAL constant

FieldBehavior const OPTIONAL

Specifically denotes a field as optional. While all fields in protocol buffers are optional, this may be specified for emphasis if appropriate.

Implementation

static const FieldBehavior OPTIONAL =
    FieldBehavior._(1, _omitEnumNames ? '' : 'OPTIONAL');