eighth property

T eighth

Returns the eighth element of the list.

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

Implementation

T get eighth => _getElement('eighth', 7);
void eighth=(T value)

Updates the eighth position of the list to contain value.

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

Implementation

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