map<U extends Object> method

Future<Option<U>> map<U extends Object>(
  1. U f(
    1. T
    )
)

Implementation

Future<Option<U>> map<U extends Object>(U Function(T) f) {
  return then((option) => option.map(f));
}