noElement static method

StateError noElement()

Error thrown thrown by, e.g., Iterable.first when there is no result. */

Implementation

static StateError noElement() => StateError("No element");