sixteenth property

T get sixteenth

Returns the sixteenth element of the list.

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

Implementation

T get sixteenth => _getElement('sixteenth', 15);
set sixteenth (T value)

Updates the sixteenth position of the list to contain value.

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

Implementation

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