tooMany static method

StateError tooMany()

Error thrown by, e.g., Iterable.single if there are too many results. */

Implementation

static StateError tooMany() => StateError("Too many elements");