onResultOf<T> method
Returns a printer that accepts values of type T
and invokes the provided
callback
to transform it to type R
for printing.
Implementation
Printer<T> onResultOf<T>(Map1<T, R> function) =>
ResultOfPrinter<T, R>(this, function);