oneOf<T> method
Uses one of the supplied generators to generate a value.
See either for a version of this method if the number of generators is known at compile-time.
Implementation
Generator<T> oneOf<T>(List<Generator<T>> generators) {
return choose(generators).bind((generator) => generator);
}