countNotNull method

int countNotNull()
  • return the length of the NOT null elements

Implementation

int countNotNull() => count((e) => e != null);