callAsync method
Implementation
FutureOr<T> callAsync(dynamic Function(E e) call) {
var ret = call(element);
if (ret is Future) {
return ret.thenChain((_) => this as T);
} else {
return this as T;
}
}
FutureOr<T> callAsync(dynamic Function(E e) call) {
var ret = call(element);
if (ret is Future) {
return ret.thenChain((_) => this as T);
} else {
return this as T;
}
}