first property

T? get first

Implementation

T? get first {
  return (list.isEmpty) ? null : list.first;
}