whereNotBlank method Null safety

List<String> whereNotBlank()

Implementation

List<String> whereNotBlank() {
  return [
    for (final str in this)
      if (str.isNotBlank) str,
  ];
}