map<U extends Object> method
Maps an Option<T>
to Option<U>
by applying a function to a contained
Some
value. Otherwise returns a None
.
Implementation
Future<Option<U>> map<U extends Object>(U Function(T) op) => mapAsync(op);