mapOr<U> abstract method
U
mapOr<U>(
- U defaultValue,
- U f(
- T
Returns the provided default result (if none), or applies a function to the contained value (if any).
Implementation
U mapOr<U>(U defaultValue, U Function(T) f);