thirdOrNull property
T?
get
thirdOrNull
Element at index 2, or null if length < 3.
Implementation
T? get thirdOrNull => length > 2 ? this[2] : null;
Element at index 2, or null if length < 3.
T? get thirdOrNull => length > 2 ? this[2] : null;