ListExt<T> extension

on

Methods

get(int index) → T?

Available on List<T>, provided by the ListExt extension

getAlways(int index) → T

Available on List<T>, provided by the ListExt extension

This will always return an element unless the list is empty. In case of overflow, the list will repeat.