eleventh property
T
get
eleventh
Returns the eleventh element of the list.
Equivalent to theList[10].
Throws a StateError if the list doesn't have a eleventh element.
Implementation
T get eleventh => _getElement('eleventh', 10);
set
eleventh
(T value)
Updates the eleventh position of the list to contain value.
Equivalent to theList[10] = value.
Throws a StateError if the list doesn't have a eleventh element.
Implementation
/// Throws a [StateError] if the list doesn't have a eleventh element.
void set eleventh(T value) => _setElement('eleventh', 10, value);