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