orElseGetNullable abstract method

T? orElseGetNullable(
  1. T? supply()
)

Returns this Optional's value, if present, as nullable. Otherwise, returns the result of calling supply().

Implementation

T? orElseGetNullable(T? Function() supply);