mapAs1<U> method
T
mapAs1<U>(
- U fn<
V>()
Implementation
T mapAs1<U>(U Function<V>() fn) {
return T.args.single.provideTo<U>(fn) as T;
}
T mapAs1<U>(U Function<V>() fn) {
return T.args.single.provideTo<U>(fn) as T;
}