first property

T? first

Implementation

T? get first => isNotEmpty ? _list.first : null;