countNull method

int countNull()
  • return the count of the null elements

Implementation

int countNull() => count((e) => e == null);