countNotEmpty method

int countNotEmpty()

return counter of empty elements in the iterable does not count the null values

Implementation

int countNotEmpty() => count((e) => e.trim().isNotEmpty);