Iterable<T> whereOrEmpty(bool Function(T element) test) { try { return where(test); } catch (e) { return []; } }