EnumListItem<T> class Null safety

Class to hold index and value of a list specifically with enumerateList.

Constructors

EnumListItem(int index, T value)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
i int
read-only
index int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
v → T
read-only
value ↔ T
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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