orGet abstract method

T orGet(
  1. T producer()
)

Returns the wrapped value (if present), or the result of the producer.

Implementation

T orGet(T Function() producer);