orElseGet abstract method
T
orElseGet(
- T supply()
Returns this Optional's value, if present. Otherwise, returns the result of calling supply().
Implementation
T orElseGet(T Function() supply);
Returns this Optional's value, if present. Otherwise, returns the result of calling supply().
T orElseGet(T Function() supply);