local<R1> method
Change dependency type of Reader<R, A> from R to R1 after calling run.
Implementation
Reader<R1, A> local<R1>(R Function(R1 context) f) => Reader((r) => run(f(r)));
Change dependency type of Reader<R, A> from R to R1 after calling run.
Reader<R1, A> local<R1>(R Function(R1 context) f) => Reader((r) => run(f(r)));