orThrow abstract method

T orThrow(
  1. Object producer()
)

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

Implementation

T orThrow(Object Function() producer);