unwrapOrElse method
T
unwrapOrElse(
- T op()
inherited
Returns the contained value or computes it from a closure.
Implementation
T unwrapOrElse(T Function() op) => toNullable() ?? op();
Returns the contained value or computes it from a closure.
T unwrapOrElse(T Function() op) => toNullable() ?? op();