then<R> method

Future<R> then <R>(FutureOr<R> onValue(T value), { Function onError })