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