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