StateError (zły stan: bez elementu)

// Use the orElse and set it to null.
someIterable.firstWhere(test, orElse: () => null);
loonix