orGet method

  1. @override
T orGet(
  1. T producer()
)
override

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

Implementation

@override
T orGet(T Function() producer) => value;