sixthOrNull property

T? get sixthOrNull

Returns the sixth element in the list or null if the list has less than 6 elements.

Implementation

T? get sixthOrNull => elementAtOrNull(5);