first property

String? first

Implementation

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