expandAndRemoveEmpty<TCast> method
After replacing the data in the list through callback
, delete the Null.
Implementation
List<TCast> expandAndRemoveEmpty<TCast>(
Iterable<TCast?> Function(T item) callback) {
return expand<TCast?>(callback).removeEmpty();
}