current property

Cross current

If the current index is less than the length of the list, return the current index, otherwise return the first index.

Implementation

Cross get current => _schemes.getData[_index]!;