aOS method Null safety

void aOS(
  1. int tagNumber,
  2. String name,
  3. {String? protoName}
)

Adds PbFieldType.OS String with no default value to reduce generated code size.

Implementation

void aOS(int tagNumber, String name, {String? protoName}) {
  add<String>(tagNumber, name, PbFieldType.OS, null, null, null, null,
      protoName: protoName);
}