headList<T> function
Returns first element.
Implementation
T? headList<T>(Iterable<T> it) {
if (it.isEmpty) {
return null;
}
return it.first!;
}
Returns first element.
T? headList<T>(Iterable<T> it) {
if (it.isEmpty) {
return null;
}
return it.first!;
}