first property

String? get first

Implementation

String? get first {
  if (this.isNotEmpty) return this[0];
  return null;
}