$_whichOneof method Null safety

int $_whichOneof(
  1. int oneofIndex
)

Implementation

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