callAsync method
Implementation
Future<T> callAsync(dynamic Function(E e) call) => then((o) {
var ret = o.callAsync(call);
if (ret is Future) {
final future = ret as Future;
return future.thenChain((o) => o as T);
} else {
return ret as T;
}
});