List<T> pluckNotNull<T>(String key) { return map((e) => e[key] as T?) .where((value) => value != null) .cast<T>() .toList(); }