nextIndex property Null safety

int? nextIndex

The index of the next item to be played, or null if there is no next item.

Implementation

int? get nextIndex => _getRelativeIndex(1);