buildOneofPath static method

List<int> buildOneofPath(
  1. List<int> parentPath,
  2. OneofNames oneof
)

Implementation

static List<int> buildOneofPath(List<int> parentPath, OneofNames oneof) {
  return List.from(parentPath)..addAll([_oneofFieldTag, oneof.index]);
}