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