map<R> method
This generator's values, each put through transform.
The way to generate anything the catalog does not: draw the shape the engine knows how to make and shrink, then build the value the property is about out of it. A user id from an integer, a sorted list from a list, a command from a name and its arguments -- the engine goes on shrinking the integer, and the id follows it down.
transform runs on every case, including the ones that pass, so it is
not the place for anything expensive or anything with an effect.
Implementation
Generator<R> map<R>(R Function(T value) transform) =>
_MappedGenerator<T, R>(this, transform);