thirdOrNull property

T? get thirdOrNull

Element at index 2, or null if length < 3. Audited: 2026-06-12 11:26 EDT

Implementation

T? get thirdOrNull => length > 2 ? this[2] : null;