fourthOrNull property

T? get fourthOrNull

Returns the fourth element in the list or null if the list has less than 4 elements.

Implementation

T? get fourthOrNull => elementAtOrNull(3);