whereNotNull static method
returns items from the collection where the given key is not null
Example:
whereNotNull(list, "key")
Implementation
static List<dynamic> whereNotNull(List<dynamic> list, String key) {
list.removeWhere((dynamic map) => FxMap.contains(map, key, null));
return list;
}