index property

int? index
final

The index of this choice in the list.

May be null with some OpenAI-compatible providers (e.g., OpenRouter).

Implementation

final int? index;