Transform the Option into a value using a default if None.
T getOrElse(T Function() defaultValue) { return fold( (value) => value, defaultValue, ); }