firstOrNull property
E?
firstOrNull
Implementation
E? get firstOrNull {
if (this == null || this!.isEmpty)
return null;
else
return this!.first;
}
E? get firstOrNull {
if (this == null || this!.isEmpty)
return null;
else
return this!.first;
}