fifthOrNull property

T? get fifthOrNull

Returns the fifth element in the list or null if the list has less than 5 elements.

Implementation

T? get fifthOrNull => elementAtOrNull(4);