andThen<U extends Object> method
Implementation
Future<Option<U>> andThen<U extends Object>(
FutureOr<Option<U>> Function(T) f) {
return then(
(option) => option.isSome() ? f(option.v as T) : Future.value(None));
}