unwrapOr method

T unwrapOr(
  1. T fallback
)

Implementation

T unwrapOr(T fallback) {
  if (!isNone) {
    return _!;
  }
  return fallback;
}