firstOrNull property

T? firstOrNull

get the first element return null

Implementation

T? get firstOrNull => _elementAtOrNull(0);