static List<String> compactEmpty(Iterable<String?>? list) => [...?list?.whereType<String>().where((item) => item.isNotEmpty)];