seventeenth property

T seventeenth

Returns the seventeenth element of the list.

Equivalent to theList[16]. Throws a StateError if the list doesn't have a seventeenth element.

Implementation

T get seventeenth => _getElement('seventeenth', 16);
void seventeenth=(T value)

Updates the seventeenth position of the list to contain value.

Equivalent to theList[16] = value. Throws a StateError if the list doesn't have a seventeenth element.

Implementation

/// Throws a [StateError] if the list doesn't have a seventeenth element.
void set seventeenth(T value) => _setElement('seventeenth', 16, value);