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