first property

String? first

Implementation

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