LoopingList<T> class

A helper class that loops or repeats the values of a given list.

Constructors

LoopingList(List<T> values)
Creates a new LoopingList with the given values.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<T>
The list of values to loop through.
final

Methods

nextValue() → T
Returns the next value in the list, looping back to the first value if the end of the list is reached.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited