ninth property

T ninth

Returns the ninth element of the list.

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

Implementation

T get ninth => _getElement('ninth', 8);
void ninth=(T value)

Updates the ninth position of the list to contain value.

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

Implementation

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