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