first property

T? get first

Implementation

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