nineteenth property

T get nineteenth

Returns the nineteenth element of the list.

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

Implementation

T get nineteenth => _getElement('nineteenth', 18);
set nineteenth (T value)

Updates the nineteenth position of the list to contain value.

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

Implementation

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