firstOrNull property
String?
get
firstOrNull
Implementation
String? get firstOrNull {
if (this == null || (this?.trim().isEmpty ?? false)) {
return null;
}
return this?[0];
}
String? get firstOrNull {
if (this == null || (this?.trim().isEmpty ?? false)) {
return null;
}
return this?[0];
}