thirdOrNull property

T? get thirdOrNull

Returns the third element in the list or null if the list has less than 3 elements.

Implementation

T? get thirdOrNull => elementAtOrNull(2);