orElseGet abstract method

T orElseGet(
  1. Map0<T> function
)

Returns the current value if present, otherwise evaluates the callback function and returns its value.

Implementation

T orElseGet(Map0<T> function);