map<U extends Object> method

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

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);