$_whichOneof method

int $_whichOneof(
  1. int oneofIndex
)

Implementation

int $_whichOneof(int oneofIndex) => _fieldSet._oneofCases![oneofIndex] ?? 0;